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:
Christer Hemgren 2018-09-18 19:39:14 +02:00 committed by Sandra McCann
parent 7b1c61000e
commit 4da13eefb2

View file

@ -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 = """