summaryrefslogtreecommitdiffstats
path: root/ansible_collections/arista/eos/plugins/action/acls.py
diff options
context:
space:
mode:
Diffstat (limited to 'ansible_collections/arista/eos/plugins/action/acls.py')
-rw-r--r--ansible_collections/arista/eos/plugins/action/acls.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/ansible_collections/arista/eos/plugins/action/acls.py b/ansible_collections/arista/eos/plugins/action/acls.py
index 0afb7e88f..6aeb55375 100644
--- a/ansible_collections/arista/eos/plugins/action/acls.py
+++ b/ansible_collections/arista/eos/plugins/action/acls.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 = []