Hi,

I'm wondering if there is an easy way to enforce that a certain role would 
be run for every host in every inventory file, without explicitly having to 
call the role from a playbook and without needing to run a command from the 
CLI to do it.

My thinking is that I'd have a security role, that hardens a host and that 
if anyone else came along and created a new inventory and a new playbook 
and didn't include the security role, even when they ran a playbook against 
their new host, the security role would be run anyway.

It may not be the best idea, but I am just wondering if it is possible, 
perhaps by doing something in the ansible.cfg file, (nothing is jumping out 
at me at the moment).

Any feedback would be much appreciated.

Thanks,
Graeme

-- 
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/cdb52328-fc75-4e0f-aec3-496520f732b3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to