--
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 ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/9a0cbe4c-98b9-4609-a3a8-843fbdbcd326%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
If I understand correctly the master file you are talking about is playbook term in ansible. The playbook has all information related to hosts and deployment instruction. You can give the Input in playbook and it will modify the stuff accordingly.
On Sun, 28 Apr 2019, 15:09 <ecr...@gmail.com wrote:
I hope I am posting this to the correct area...--I'm really new to Ansible and am in the process of trying to learn it.Question: Does Ansible have the ability to look at a master file that contains host file information and deploy information from that master file to the /etc/hosts file on all the nodes in my environment so that when I add a new host all that I need to do is update that master file and redeploy to all my nodes appending, or replacing, that existing /etc/hosts file?Thanks.
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 ansible...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/30e8efe2-7513-484b-bdaa-090c33e050f9%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/4094ac6f-b53c-42d9-b3ee-c405f2664cf3%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/a00f8ca8-cb4d-477a-a6a5-770bcfc6e939%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CANErU6mKUvBL2Wb3bUPOu-Hh6nvq0BYMh8xc2gkfvJf6m3VP1A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Jonathan lozada de la matta
AUTOMATION PRACTICE
Hello,I think you should use templating and jinja2 a bit in here. Will make the file easier to control and avoid appending. You can also use NetworkManager (if you use that).
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/a00f8ca8-cb4d-477a-a6a5-770bcfc6e939%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
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 ansible...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CANErU6mKUvBL2Wb3bUPOu-Hh6nvq0BYMh8xc2gkfvJf6m3VP1A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.