Allow junos_config changes the candidate configuration only (#61969)

This allows junos_config to changes the candidate configuration only and
does not commit it as the active configuration at once w/ the
'check_commit' option.

(cherry picked from commit 483e76ee58)
pull/62034/head
Satoru SATOH 6 years ago committed by Toshio Kuratomi
parent 0de5620b65
commit fce737b3bb

@ -0,0 +1,2 @@
bugfixes:
- junos_config - allow validate config before committing to running configuration (https://github.com/ansible/ansible/pull/61969)

@ -448,7 +448,8 @@ def main():
if diff:
if commit:
kwargs = {
'comment': module.params['comment']
'comment': module.params['comment'],
'check': module.params['check_commit']
}
confirm = module.params['confirm']

Loading…
Cancel
Save