asa_config add doc l3 interface (#41250)
* asa_config add doc l3 interface +label: docsite_pr Issue ansible/community#311 * fix interface idempotent * newline, names, and debug:var
This commit is contained in:
parent
7b1c61000e
commit
4da13eefb2
1 changed files with 15 additions and 0 deletions
|
@ -192,6 +192,21 @@ vars:
|
|||
register: bgp
|
||||
when: bgp_neighbor_as is defined
|
||||
|
||||
- name: configure ASA interface with standby
|
||||
asa_config:
|
||||
lines:
|
||||
- description my cloud interface
|
||||
- nameif cloud13
|
||||
- security-level 50
|
||||
- ip address 192.168.13.1 255.255.255.0 standby 192.168.13.2
|
||||
provider: "{{ cli }}"
|
||||
parents: ["interface Vlan13"]
|
||||
register: interface
|
||||
|
||||
- name: Show changes to interface from task above
|
||||
debug:
|
||||
var: interface
|
||||
|
||||
"""
|
||||
|
||||
RETURN = """
|
||||
|
|
Loading…
Reference in a new issue