mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
bd0066d621
Example: --- - hosts: local tasks: - set_fact: mac_str="52:54:00:00:00:00" - set_fact: base_mac="{{ mac_str | macaddr('int') }}" - debug: msg="{{ (base_mac|int + 257) | macaddr('linux') }}" # 52:54:00:00:01:01 |
||
---|---|---|
.. | ||
ansible |