Forum Discussion
These are depends on Ansible version. All modules are not available below Ansible version 2.7
please run the command ansible --version and paste the output. You can use the mask as suggested by McGrath
I have tested with ansible 2.7.9 however the mask in destination is not accepted
TASK [Add nodes to pool] *********************************************************************************************************************************************** changed: [192.168.0.105 -> localhost] => (item={u'host': u'10.10.10.60', u'name': u'web_server5'}) changed: [192.168.0.105 -> localhost] => (item={u'host': u'10.10.10.70', u'name': u'web_server7'})
TASK [Create VIP] ****************************************************************************************************************************************************** fatal: [192.168.0.105 -> localhost]: FAILED! => {"changed": false, "msg": "The provided destination is not a valid IP address"} to retry, use: --limit @/etc/ansible/
PLAY RECAP ************************************************************************************************************************************************************* 192.168.0.105 : ok=5 changed=4 unreachable=0 failed=1
root@ansible:/etc/ansible ansible --version ansible 2.7.9 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/dist-packages/ansible executable location = /usr/bin/ansible python version = 2.7.12 (default, Nov 12 2018, 14:36:49) [GCC 5.4.0 20160609]