From ce5b24ca7c6160652e81fcff335a1b27705702b1 Mon Sep 17 00:00:00 2001 From: Patrick Recher <3500621+patte@users.noreply.github.com> Date: Wed, 1 Jun 2022 13:07:52 +0200 Subject: [PATCH] fix: slx save_config prompt adapt slx prompt for version 20.x.x and above --- plugins/modules/network/slxos/slxos_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/modules/network/slxos/slxos_config.py b/plugins/modules/network/slxos/slxos_config.py index 76351637..ecc494b1 100644 --- a/plugins/modules/network/slxos/slxos_config.py +++ b/plugins/modules/network/slxos/slxos_config.py @@ -290,7 +290,7 @@ def save_config(module, result): result['changed'] = True if not module.check_mode: command = {"command": "copy running-config startup-config", - "prompt": "This operation will modify your startup configuration. Do you want to continue", "answer": "y"} + "prompt": "This operation will back up the current configuration. Do you want to continue", "answer": "y"} run_commands(module, command) else: module.warn('Skipping command `copy running-config startup-config` '