diff --git a/changelogs/fragments/slxos_config_fix.yaml b/changelogs/fragments/slxos_config_fix.yaml new file mode 100644 index 00000000000..9859b2357c0 --- /dev/null +++ b/changelogs/fragments/slxos_config_fix.yaml @@ -0,0 +1,2 @@ +bugfixes: +- Fix broken slxos_config due to changed backup options (https://github.com/ansible/ansible/pull/58804). diff --git a/lib/ansible/plugins/action/slxos_config.py b/lib/ansible/plugins/action/slxos_config.py index 3321f594009..03104f50061 100644 --- a/lib/ansible/plugins/action/slxos_config.py +++ b/lib/ansible/plugins/action/slxos_config.py @@ -22,8 +22,6 @@ __metaclass__ = type import re from ansible.plugins.action.network import ActionModule as ActionNetworkModule -from ansible.module_utils._text import to_text -from ansible.module_utils.network.common.backup import write_backup, handle_template PRIVATE_KEYS_RE = re.compile('__.+__')