From 288446c9bfbd59f7b76c3327d8ca5724bc090199 Mon Sep 17 00:00:00 2001 From: Stian Vikan Date: Fri, 1 Jul 2016 18:11:05 +0200 Subject: [PATCH] Added and-quit to all commit statements. (#16411) --- lib/ansible/module_utils/junos.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')