Hello Anatol, You're close ;) Read over the getting started guide and you'll spot your mistakes. But to help get you going ...
You need to specify -i for that hosts txt file - do a --help to understand the switch. -m specifies an ansible module - see module documentation at docs.ansible.com, or try ansible-doc -l. I suspect what you wanted to do there to test was -a - which is switches to a given module. If you don't specificy a module with -m it will default to the 'command' module. Good luck, and welcome to the community! -- 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/10177de1-ecbc-404c-b001-2b6edad5953f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
