Hello All, I am trying to update /etc/hosts file if there is any changes in the host extra variables by comparing it from a csv file
[windows] Server01.test.com ansible_user="admin" ansible_password="password" Server02.test.com ansible_user="admin" ansible_password="Welcome" So suppose the password is changed for the systems . *password.csv* Server01.test.com passwordNew Server02.test.com WelcomeNew So, how to compare and change the values in the existing host file. Please if anyone having any idea or script for this will be a great help for me. Thanks in advance *Regards* *Harsh* -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/63fa30be-ce6c-4485-8af3-838a7cf44efao%40googlegroups.com.
