Re: [ansible-project] Excluding servers from all

2017-10-29 Thread 'J Hawkesworth' via Ansible Project
Worth saying when you need to run against everything you can pass multiple inventory files to the ansible-playbook command. -- 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, se

Re: [ansible-project] Excluding servers from all

2017-10-26 Thread Brian Coca
Just put production in separate non default inventory. All host are always part of all, only way to avoid is host not existing. -- 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,

[ansible-project] Excluding servers from all

2017-10-26 Thread John Harmon
Just a though I had today. I would like to make sure nobody ever runs ansible against our production servers unless explicitly called by server name or group name. I want the servers/groups to be excluded from "all". Is this, or something like it valid? all!prodenv test1-apps prod1-db [non