diff --git a/lib/ansible/module_utils/eos.py b/lib/ansible/module_utils/eos.py index e1d926f133..3439f36f7d 100644 --- a/lib/ansible/module_utils/eos.py +++ b/lib/ansible/module_utils/eos.py @@ -125,7 +125,7 @@ class EosConfigMixin(object): def supports_sessions(self): try: if isinstance(self, Eapi): - self.execute('show configuration sessions', output='text') + self.execute(['show configuration sessions'], output='text') else: self.execute('show configuration sessions') return True