[ansible-project] Hosts file and security issues

2017-03-28 Thread Marco Buttu
Hi all, I have a public github repository for my ansible project. The hosts file has the *private* IP addresses (192.168...) of the production machines. Do you think this could be risky and it would be better to put the project in a private github repository? Thanks, Marco -- You received

[ansible-project] How to read the --limit command line option

2017-03-09 Thread Marco Buttu
Hi all, I would like to get the value of --limit. For instance, let's have this command: $ ansible-playbook site.yml --limit foo I would like to read {{ limit }} from a task. Is there a solution or do I have to do something like the following? $ ansible-playbook site.yml --limit foo -e

[ansible-project] How to get the --limit command line option

2017-03-09 Thread Marco Buttu
Hi all, I would like to read the --limit command line option. For instance, let's have the following: $ ansible-playbook site.yml --limit foo I would like the tasks to read {{ limit }}. Is it possibile or do I have to duplicate thinks like in the following? $ ansible-playbook site.yml --limit