brett_01_135751
Mar 04, 2018Nimbostratus
f5 and ansible
I am fairly new to ansible and only reasonably proficient with f5s (day job is mainly DNS) so please forgive me if this question looks a little basic.
I'm trying to manipulate route domains with Ansible, i looked at the example in the documentation which says:
- name: Create a route domain bigip_routedomain: name: foo id: 1234 password: secret server: lb.mydomain.com state: present user: admin delegate_to: localhost
This is obviously incomplete as there is no "hosts" section so I modified to the best of my knowledge and came up with:
-
hosts: bigip
tasks:
- name: Create a route domain bigip_routedomain: id: "1234" password: "my password" server: "bigip" state: "present" user: "brettcarr" delegate_to: localhost