From 4da13eefb271526ec3efef50092b08cfcb0302d7 Mon Sep 17 00:00:00 2001 From: Christer Hemgren Date: Tue, 18 Sep 2018 19:39:14 +0200 Subject: [PATCH] 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 --- lib/ansible/modules/network/asa/asa_config.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/lib/ansible/modules/network/asa/asa_config.py b/lib/ansible/modules/network/asa/asa_config.py index 442b746bfa1..bb8aabad8a7 100644 --- a/lib/ansible/modules/network/asa/asa_config.py +++ b/lib/ansible/modules/network/asa/asa_config.py @@ -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 = """