Forum Discussion
bigip_device_info errors with - virtual-servers
Can you please share your
BIG-IP software version & Ansible Version & Python version
I can see python3.6
bigip_gather_facts has been deprecated /Removed in Ansible version 2.11 (This module has ben removed in version 2.11. [deprecated])
The bigip_facts module relies on SOAP to communicate with the BIG-IP, and has a large amount of code that does not conform to existing F5 standards.
The bigip_device_info module (Requires BIG-IP software version >= 12) is easier to maintain and use. This module was called bigip_device_facts before Ansible 2.9. The usage did not change.
can you provide the output of curling these two APIs
https://IP_ADDRESS/mgmt/tm/sys/software/image
https://IP_ADDRESS/mgmt/tm/sys/software/hotfix
Please see this section:
fatal: [ftbc-f5-dev1 -> localhost]: FAILED! => {
"changed": false,
"invocation": {
"module_args": {
"gather_subset": [
"virtual-servers"
],
"provider": {
"auth_provider": null,
"password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
"server": "ftbc-f5-dev1",
"server_port": 443,
"ssh_keyfile": null,
"timeout": null,
"transport": "rest",
"user": "mboster",
"validate_certs": false
}
}
},
"msg": "The provided destination is not a valid IP address"
- this is the error you're receiving?
fatal: [ftbc-f5-dev1 -> localhost]: FAILED! => {
"msg": "The provided destination is not a valid IP address"}
It Seems that the partition is not striped correctly since the regex doesn't match numbers and your partition name may contains numbers. Can you please share the names of the partitions.
2. validate_certs must be one of: yes,no
validate_certs: False
Can you try the latest version:
Minimum Ansible Version 2.8
https://galaxy.ansible.com/f5devcentral/f5ansible
Try these links
https://github.com/F5Networks/f5-ansible/issues/1124
https://clouddocs.f5.com/training/fas-ansible-workshop-101/1.8-virtual-server-facts.html
https://clouddocs.f5.com/products/orchestration/ansible/devel/modules/bigip_device_facts_module.html
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