Hi, I'm new to using ansible and want to run a command on a number of servers which I have listed within a text file. I've tried the command below where "hosts" is the file containing the server name list but no luck, any ideas how I can achieve this?
*ansible @hosts -m shell -a '/u01/app/em/core/12.1.0.5.0/root.sh' -k --sudo --ask-sudo* -- 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/db7b9b3d-6702-4b39-8e03-39e7555f224e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
