From 7fec0b69a082aaeec72fee0612766aa42f6b1b4d Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 18 Apr 2024 07:52:35 +0200 Subject: Merging upstream version 9.4.0+dfsg. Signed-off-by: Daniel Baumann --- ansible_collections/arista/eos/plugins/action/command.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'ansible_collections/arista/eos/plugins/action/command.py') diff --git a/ansible_collections/arista/eos/plugins/action/command.py b/ansible_collections/arista/eos/plugins/action/command.py index 0afb7e88f..6aeb55375 100644 --- a/ansible_collections/arista/eos/plugins/action/command.py +++ b/ansible_collections/arista/eos/plugins/action/command.py @@ -36,9 +36,7 @@ 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 in ["eos_config", "config"] else False - ) + self._config_module = True if module_name in ["eos_config", "config"] else False persistent_connection = self._play_context.connection.split(".")[-1] warnings = [] -- cgit v1.2.3