ansible_private_ipv4_address = get_ansible_private_ipv4_address()
ansible_facts_dict['ansible_facts']['ansible_private_ipv4_address'] =
ansible_private_ipv4_address
print json.dumps(ansible_facts_dict)
from ansible.module_utils.basic import *
from ansible.mo
Hi gentlemen,
We are using the Ansible to manage many servers, and we like the dry run
mode which with parameters "--check" and "--diff". We always run with these
parameters first to verify that if the changes will be made correctly.
The customized facts are very helpful, to generate some dynamic