Add debug (#65909)
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
This commit is contained in:
parent
a1381d6e67
commit
ae0df67539
2 changed files with 8 additions and 2 deletions
|
@ -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…
Reference in a new issue