Fixes for examples in f5 modules (#49490)

So that they use provider instead of deprecated args method
This commit is contained in:
Tim Rupp 2018-12-04 10:31:25 -08:00 committed by GitHub
commit 7c15417f62
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
58 changed files with 638 additions and 439 deletions

View file

@ -50,33 +50,36 @@ author:
EXAMPLES = r'''
- name: Add the SNAT pool 'my-snat-pool'
bigip_snat_pool:
server: lb.mydomain.com
user: admin
password: secret
name: my-snat-pool
state: present
members:
- 10.10.10.10
- 20.20.20.20
provider:
server: lb.mydomain.com
user: admin
password: secret
delegate_to: localhost
- name: Change the SNAT pool's members to a single member
bigip_snat_pool:
server: lb.mydomain.com
user: admin
password: secret
name: my-snat-pool
state: present
member: 30.30.30.30
provider:
server: lb.mydomain.com
user: admin
password: secret
delegate_to: localhost
- name: Remove the SNAT pool 'my-snat-pool'
bigip_snat_pool:
server: lb.mydomain.com
user: admin
password: secret
name: johnd
state: absent
provider:
server: lb.mydomain.com
user: admin
password: secret
delegate_to: localhost
'''