there are many ways around this, Matt demonstrated one (I happen to use the
same). You can also have a unified inventory file and used --limit against
that (--limit 'production').
Another popular method is by making the hosts entry parameterized:
hosts: "web:{{target}}"
now you can pass -e 'target=&production' in the command line or any other
combination that is allowed by host patterns
--
Brian Coca
Stultorum infinitus est numerus
0110000101110010011001010110111000100111011101000010000001111001011011110111010100100000011100110110110101100001011100100111010000100001
Pedo mellon a minno
--
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/CADn%2BHswi5hCD%2BCxvYzsp48CXhgnzCyW1sLwMtcgboGW3MFX%3Drg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.