Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
pull/65962/head
Nilashish Chakraborty 6 years ago committed by GitHub
parent a1381d6e67
commit ae0df67539
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -327,8 +327,11 @@ def state_present(module, existing, proposed, candidate):
commands.append('no {0}'.format(key))
elif value == 'default':
if existing_commands.get(key):
existing_value = existing_commands.get(key)
commands.append('no {0} {1}'.format(key, existing_value))
if key == 'password':
commands.append("no password")
else:
existing_value = existing_commands.get(key)
commands.append('no {0} {1}'.format(key, existing_value))
else:
if key == 'log-neighbor-changes':
if value == 'enable':

@ -10,6 +10,9 @@
- set_fact: log_neighbor_changesd="disable"
when: (imagetag and (imagetag is version_compare('D1', 'ne')) and (imagetag is version_compare('N1', 'ne')))
- debug:
var: titanium
- set_fact: remove_private_asa="all"
when: not titanium
- set_fact: remove_private_asr="replace-as"

Loading…
Cancel
Save