>
> Hi Mark,

thanks for your answer!

You need to specify -i for that hosts txt file - do a --help to understand 
> the switch. 
>

I did this already with 

export ANSIBLE_HOSTS=/path/to/file 

Which should do the job of -i, right?

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. 
>

Unfortunately the VM where I´me testing is down for cloning right now. But 
if I´m understanding your answer correctly – and after a look into the 
module docs I´ve missed the -a switch … will try when the Server is back 
online.

ansible --ask-pass all -m -a "/bin/echo hello"

Thanks for your help!

- Anatol
 

-- 
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/51e80171-bba7-4a67-9ca8-003a9a59b7a1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to