1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/lib/ansible
Jesper Geertsen Jonsson bd0066d621 Adds support for converting a MAC address to an integer.
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
2016-04-11 20:46:45 +02:00
..
cli Adds 'ansible_check_mode' boolean magic variable 2016-04-08 00:26:02 +02:00
compat
config
errors Add options to make includes 'static' 2016-03-24 10:12:51 -04:00
executor moved last utils.debug to display.debug 2016-04-08 16:00:36 -04:00
galaxy Merge pull request #15256 from alikins/galaxy_roles_path_fix_15255 2016-04-03 02:55:19 -04:00
inventory draft add group merge priority and yaml inventory 2016-04-07 16:22:36 -04:00
module_utils Merge pull request #15289 from sivel/sni-urllib3-contrib-try2 2016-04-08 11:26:49 -05:00
modules updated submodule ref 2016-04-08 11:44:09 -04:00
new_inventory
parsing Take previous jinja2 blocks into account in splitter when we see quotes 2016-03-28 15:43:43 -04:00
playbook Ziploader 2016-04-05 11:06:17 -07:00
plugins Adds support for converting a MAC address to an integer. 2016-04-11 20:46:45 +02:00
template moved last utils.debug to display.debug 2016-04-08 16:00:36 -04:00
utils moved last utils.debug to display.debug 2016-04-08 16:00:36 -04:00
vars fix options_vars iteration for py3 2016-04-07 19:16:15 -07:00
__init__.py Bump version in devel now that stable-2.0 has been branched 2015-12-02 17:57:53 +05:30
constants.py Adding a config option to allow disabling locale settings upon module exec 2016-04-06 12:19:22 -04:00
test-requirements.txt