mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
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:
committed by
Sandra McCann
parent
7b1c61000e
commit
4da13eefb2
@@ -192,6 +192,21 @@ vars:
|
|||||||
register: bgp
|
register: bgp
|
||||||
when: bgp_neighbor_as is defined
|
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 = """
|
RETURN = """
|
||||||
|
|||||||
Reference in New Issue
Block a user