Hi All, Need to declare few group variables in server Inventory of Ansible Tower and retrieve them in playbook. Currently my host inventory looks as below.
server.ini [mygroup] host1 ansible_host=host1 ansible_user=user1 ansible_password= password1 host2 ansible_host=host2 ansible_user=user1 ansible_password= password1 host3 ansible_host=host3 ansible_user=user1 ansible_password= password1 host4 ansible_host=host4 ansible_user=user1 ansible_password= password1 host5 ansible_host=host5 ansible_user=user1 ansible_password= password1 We may need to add new host inventory variables environment, application for each host along with these Ansible standard variables. Could you please recommend the right procedure to declare them in host inventory and retrieve them in playbook. Regards Saravanan -- 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/bc11e2c2-6758-4cbf-b41e-5790775dbae4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
