vos_config collection fix using FQCN (#60446)
This deals with hardcoded vos_config in our vyos action plugin. Needed for when we move to collections. Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
ab027611d5
commit
4615139194
1 changed files with 2 additions and 1 deletions
|
@ -38,7 +38,8 @@ class ActionModule(ActionNetworkModule):
|
|||
def run(self, tmp=None, task_vars=None):
|
||||
del tmp # tmp no longer has any effect
|
||||
|
||||
self._config_module = True if self._task.action == 'vyos_config' else False
|
||||
module_name = self._task.action.split('.')[-1]
|
||||
self._config_module = True if module_name == 'vyos_config' else False
|
||||
socket_path = None
|
||||
|
||||
if self._play_context.connection == 'network_cli':
|
||||
|
|
Loading…
Reference in a new issue