Skip to content

Commit

Permalink
nxos_vpc doc update to handle confirmation prompt (ansible#27796)
Browse files Browse the repository at this point in the history
Signed-off-by: Trishna Guha <[email protected]>
  • Loading branch information
trishnaguha authored Aug 5, 2017
1 parent c59e324 commit edb5760
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions lib/ansible/modules/network/nxos/nxos_vpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,15 +95,33 @@
'''

EXAMPLES = '''
# configure a simple asn
- nxos_vpc:
- name: configure a simple asn
nxos_vpc:
domain: 100
role_priority: 1000
system_priority: 2000
pkl_dest: 192.168.100.4
pkl_src: 10.1.100.20
peer_gw: true
auto_recovery: true
# peer-gateway might ask for confirmation to apply changes
# Device should be configured with terminal dont-ask that makes
# the device take default answer on confirmation prompt
- name: Make device take default answer
nxos_command:
commands: terminal dont-ask
- name: configure
nxos_vpc:
domain: 100
role_priority: 32667
system_priority: 2000
peer_gw: true
pkl_src: 10.1.100.2
pkl_dest: 192.168.100.4
auto_recovery: true
'''

RETURN = '''
Expand Down

0 comments on commit edb5760

Please sign in to comment.