Ansible Module shell: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 1: Line 1:
=External=
=External=


* http://docs.ansible.com/ansible/shell_module.html
* https://docs.ansible.com/ansible/latest/modules/shell_module.html


=Internal=
=Internal=

Revision as of 04:52, 12 December 2019

External

Internal

Example

ansible -i ./hosts -b --become-user=root all -m shell -a 'ls -al'