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