Forum Discussion
Automation with F5 LTM
Ansible is more of a configuration tool using a declarative model which will not, to my knowledge, directly be able to compare but could be used to gather facts using the BIGIP Device Facts module to get information around
Ansible bigip_device_facts – Collect facts from F5 BIG-IP devices
For example can use the following in your Ansible playbook to get just the Virtual Server facts:
- name: Collect BIG-IP Virtual Server facts
bigip_device_facts:
gather_subset:
- virtual-servers
provider:
server: lb.mydomain.com
user: admin
password: secret
delegate_to: localhost
Once you have this can easily write this out to a file or even pass it to a Python script to locate the correct Virtual Server and compare configurations.
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
