>Linux&Unix: \test


Create an Ansible Module and then use Module Provided Facts

But we can create an Ansible module and then use module provided 'Facts'.

Sometimes the default Ansible Facts are not enough.

For example, Ansible doesn't provide "ansible_private_ipv4_address" which with private IP address.

With it, we don't need to worry about which IP on which NIC should be used.

But we can create an Ansible module and then use module provided 'Facts'.