diff options
Diffstat (limited to 'plugins/action/vyos.py')
-rw-r--r-- | plugins/action/vyos.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/action/vyos.py b/plugins/action/vyos.py index cab2f3f..9519d36 100644 --- a/plugins/action/vyos.py +++ b/plugins/action/vyos.py @@ -42,7 +42,9 @@ class ActionModule(ActionNetworkModule): del tmp # tmp no longer has any effect module_name = self._task.action.split(".")[-1] - self._config_module = True if module_name == "vyos_config" else False + self._config_module = ( + True if module_name in ["vyos_config", "config"] else False + ) persistent_connection = self._play_context.connection.split(".")[-1] warnings = [] |