Hi,
I have servers that are organized into environment (such as staging, production, test, etc.) and into function (www, db, etc)
My idea was to have a group 'production' with a list of servers, and a group www with a list of servers. Just like this:
production:
hosts:
servera
serverb
test:
hosts:
serverc
serverd
www:
hosts:
servera
serverb
serverc
serverd
Not I want something like
ansible-playbook --limit production,www
and I want it applied only to servera and serverb. Not sure how to get there. Can anyone give a hint?
Kind regards,
Sascha