On 09. feb. 2017 12:00, Kobus wrote:
I am fairly new to ansible, but wanted to disable the all hosts directive.
I want to force people to use a specific hosts group and never the all
group. Biggest reason for this is the segregation of environment, mostly
for PCI:DSS purposes.

To my knowledge that is not possible.
Why not split the inventory instead to achieve segregation that way?
The all will only be for the host in that specific inventory.

https://docs.ansible.com/ansible/playbooks_best_practices.html#alternative-directory-layout


--
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/a59ef617-3302-dba9-6de6-d2771203783e%40olstad.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to