mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 05:10:22 -07:00
Fixes for examples in f5 modules (#49490)
So that they use provider instead of deprecated args method
This commit is contained in:
parent
40a5f7bfdf
commit
7c15417f62
58 changed files with 638 additions and 439 deletions
|
@ -73,29 +73,32 @@ EXAMPLES = r'''
|
|||
- name: Add the iApp contained in template iapp.tmpl
|
||||
bigip_iapp_template:
|
||||
content: "{{ lookup('template', 'iapp.tmpl') }}"
|
||||
password: secret
|
||||
server: lb.mydomain.com
|
||||
state: present
|
||||
user: admin
|
||||
provider:
|
||||
user: admin
|
||||
password: secret
|
||||
server: lb.mydomain.com
|
||||
delegate_to: localhost
|
||||
|
||||
- name: Update a template in place
|
||||
bigip_iapp_template:
|
||||
content: "{{ lookup('template', 'iapp-new.tmpl') }}"
|
||||
password: secret
|
||||
server: lb.mydomain.com
|
||||
state: present
|
||||
user: admin
|
||||
provider:
|
||||
user: admin
|
||||
password: secret
|
||||
server: lb.mydomain.com
|
||||
delegate_to: localhost
|
||||
|
||||
- name: Update a template in place that has existing services created from it.
|
||||
bigip_iapp_template:
|
||||
content: "{{ lookup('template', 'iapp-new.tmpl') }}"
|
||||
force: yes
|
||||
password: secret
|
||||
server: lb.mydomain.com
|
||||
state: present
|
||||
user: admin
|
||||
provider:
|
||||
user: admin
|
||||
password: secret
|
||||
server: lb.mydomain.com
|
||||
delegate_to: localhost
|
||||
'''
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue