Skip to content

Commit

Permalink
asa_config add doc l3 interface (ansible#41250)
Browse files Browse the repository at this point in the history
* asa_config add doc l3 interface

+label: docsite_pr
Issue ansible/community#311

* fix interface idempotent

* newline, names, and debug:var
  • Loading branch information
hemskgren authored and samccann committed Sep 18, 2018
1 parent 7b1c610 commit 4da13ee
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions lib/ansible/modules/network/asa/asa_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,21 @@
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 = """
Expand Down

0 comments on commit 4da13ee

Please sign in to comment.