[ansible-project] How to iterate over hash of arrays

2017-02-13 Thread Dhaval Joshi
Hello, I have below strucure. vars: locations: - parent_location: A child_location: - a1 - a2 - a3 - parent_location: B child_location: - b1 - b2 - b3 - parent_location: C child_location: - c1 - c2 - c3 now i have task something like below

[ansible-project] How to iterate over below hash

2017-02-13 Thread Dhaval Joshi
Hello, I am new to ansible, i have requirement. vars: locations: - parentlocation: A childlocation: - a1 - a2 - a3 - parentlocation: B childlocation: - b1 - b2 - b3 Now i want run task so - name: create parent location command: some command '{{

[ansible-project] Using ansible tower best practice to segregate data

2017-12-29 Thread Dhaval Joshi
Hello I am migrating from puppet to ansible and using tower, I have question on managing data as per the role of server (dmz/core) or as per different region or datacentre (similar to hiradata in puppet) whats best way to acheive this ? How can i utilize tower for the same. Appreciate some

[ansible-project] Using tower for automaed patching

2018-02-04 Thread Dhaval Joshi
Hello, I am new to tower, i have a plan to design patching as a services for automated patching on Linux box, i am also using satellite6 for patch information. Does anyone have implemented it ? If you can share your ideas/docs please ? I am aslo interested in RBAC so team2 does not have access

[ansible-project] Tower how to replace hiera

2018-04-16 Thread Dhaval Joshi
Hello, I am migrating from my puppet infra to ansible for all infra modules like dns, ntp, ldap, kerberos and so on, now it was easy to use hiera with puppet for centrally managing all variables, how do i achieve similar or (ansible way) of doing same ? I am using tower and satellite as my