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:
Dag Wieers 2018-08-08 23:24:50 +02:00 committed by GitHub
commit 014fca8ca5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
53 changed files with 281 additions and 21 deletions

View file

@ -77,6 +77,7 @@ EXAMPLES = r'''
description: Communication between web-servers and database
scope: application-profile
state: present
delegate_to: localhost
- name: Remove an existing contract
aci_contract:
@ -86,6 +87,7 @@ EXAMPLES = r'''
tenant: production
contract: web_to_db
state: absent
delegate_to: localhost
- name: Query a specific contract
aci_contract:
@ -95,6 +97,8 @@ EXAMPLES = r'''
tenant: production
contract: web_to_db
state: query
delegate_to: localhost
register: query_result
- name: Query all contracts
aci_contract:
@ -102,6 +106,8 @@ EXAMPLES = r'''
username: admin
password: SomeSecretPassword
state: query
delegate_to: localhost
register: query_result
'''
RETURN = r'''