Use fqcr from command module invocation using shell module (#69790)

* Use fqcr from command module invocation using shell module

Fixes https://github.com/ansible/ansible/issues/69788

Use fully qualified collection reference while invoking
command module from shell module

* Fox review comment
pull/69898/head
Ganesh Nalawade 4 years ago committed by GitHub
parent 247e43b252
commit 646536643f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,3 @@
---
bugfixes:
- "Use fqcr from command module invocation using shell module. Fixes https://github.com/ansible/ansible/issues/69788"

@ -17,7 +17,7 @@ class ActionModule(ActionBase):
self._task.action = 'command'
self._task.args['_uses_shell'] = True
command_action = self._shared_loader_obj.action_loader.get('command',
command_action = self._shared_loader_obj.action_loader.get('ansible.legacy.command',
task=self._task,
connection=self._connection,
play_context=self._play_context,

Loading…
Cancel
Save