mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-26 04:11:25 -07:00
Fix all ACI examples to use delegate_to (#43439)
This is to avoid users connecting to the APIC using SSH, which is likely to fail. In the ACI documentation (linked from every module) we go into more details on how people are supposed to work with the modules..
This commit is contained in:
parent
54e4c53f00
commit
014fca8ca5
53 changed files with 281 additions and 21 deletions
|
@ -67,6 +67,7 @@ EXAMPLES = r'''
|
|||
url: foo.bar.cisco.com/download/cisco/aci/aci-msft-pkg-3.1.1i.zip
|
||||
url_protocol: http
|
||||
state: present
|
||||
delegate_to: localhost
|
||||
|
||||
- name: Remove firmware source
|
||||
aci_firmware_source:
|
||||
|
@ -75,6 +76,7 @@ EXAMPLES = r'''
|
|||
password: SomeSecretPassword
|
||||
source: aci-msft-pkg-3.1.1i.zip
|
||||
state: absent
|
||||
delegate_to: localhost
|
||||
|
||||
- name: Query a specific firmware source
|
||||
aci_firmware_source:
|
||||
|
@ -83,6 +85,8 @@ EXAMPLES = r'''
|
|||
password: SomeSecretPassword
|
||||
source: aci-msft-pkg-3.1.1i.zip
|
||||
state: query
|
||||
delegate_to: localhost
|
||||
register: query_result
|
||||
|
||||
- name: Query all firmware sources
|
||||
aci_firmware_source:
|
||||
|
@ -90,6 +94,8 @@ EXAMPLES = r'''
|
|||
username: admin
|
||||
password: SomeSecretPassword
|
||||
state: query
|
||||
delegate_to: localhost
|
||||
register: query_result
|
||||
'''
|
||||
|
||||
RETURN = r'''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue