Hello,
I am discovering ansible and i was wondering how to specify a command in my
playbook to use the "--tree" command that is normally used like this :
ansible all -m setup -u root --tree /tmp/ansible/general
Translating this into a playbook would look like :
---
- hosts: all
remote_user: root
tasks:
- name: Gather our facts
action: setup
But in the playbook i can't see how to specify the --tree arguent since if
i put arguments to the 'action' it will correspond as the module arguments.
Thanks for your help !
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/dc12c5f3-8367-487d-95ae-26411199a856%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.