diff --git a/lib/ansible/module_utils/junos.py b/lib/ansible/module_utils/junos.py index d32cb2dc54..3dc527aeaf 100644 --- a/lib/ansible/module_utils/junos.py +++ b/lib/ansible/module_utils/junos.py @@ -120,7 +120,7 @@ class Cli(object): commands.insert(0, 'configure') if kwargs.get('comment'): - commands.append('commit comment "%s"' % kwargs.get('comment')) + commands.append('commit and-quit comment "%s"' % kwargs.get('comment')) else: commands.append('commit and-quit')