On 25.03.2019 13:20, Sascha Andres wrote:
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?
https://docs.ansible.com/ansible/latest/user_guide/intro_patterns.html -- Kai Stian Olstad -- 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/4f53c755ab1f8ca4848937557f876b87%40olstad.com. For more options, visit https://groups.google.com/d/optout.
