This is a format that I use but as long as you cover all the required info you'll be good.
ansible -i <inventory file> -m <the module> -a '< arugments>' which hosts, you can do I believe all, individual severs separated by commas as well as groups within the inventory file -- 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/6e8bcace-ba81-476a-bd8d-10b71df93dde%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
