summaryrefslogtreecommitdiffstats
path: root/ansible_collections/arista/eos/plugins/action/interface.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-18 05:52:22 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-18 05:52:22 +0000
commit38b7c80217c4e72b1d8988eb1e60bb6e77334114 (patch)
tree356e9fd3762877d07cde52d21e77070aeff7e789 /ansible_collections/arista/eos/plugins/action/interface.py
parentAdding upstream version 7.7.0+dfsg. (diff)
downloadansible-38b7c80217c4e72b1d8988eb1e60bb6e77334114.tar.xz
ansible-38b7c80217c4e72b1d8988eb1e60bb6e77334114.zip
Adding upstream version 9.4.0+dfsg.upstream/9.4.0+dfsg
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'ansible_collections/arista/eos/plugins/action/interface.py')
-rw-r--r--ansible_collections/arista/eos/plugins/action/interface.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/ansible_collections/arista/eos/plugins/action/interface.py b/ansible_collections/arista/eos/plugins/action/interface.py
index 0afb7e88f..6aeb55375 100644
--- a/ansible_collections/arista/eos/plugins/action/interface.py
+++ b/ansible_collections/arista/eos/plugins/action/interface.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 = []