Re: [ansible-project] Ansible Inventory Security (all)

2021-05-06 Thread Alex Wanderley
Hello, What we're doing here is assigning a variable to "hosts". Something like: hosts: {{ variable }} So, our playbooks have always to be called as "ansible-playbooks -e "variable=|" otherwise they will fail. Alex On Thu, May 6, 2021 at 12:12 PM Martin Parrella wrote: > > Hi there! Is

[ansible-project] Ansible Inventory Security (all)

2021-05-06 Thread Martin Parrella
Hi there! Is there any way to overwrite the 'all/*' keyword in Ansible inventory? How can we prevent someone to run something nasty (intentionally or by mistake) over all our inventory? We did a couple of tests using a dynamic inventory, but no luck. As a workaround, we are thinking to force