Forum Discussion
Ansible "bigip_virtual_server" How do I config "mask" in my virtual server?
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
- jituApr 17, 2019
Nimbostratus
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]
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
