Also, you may be able to use 'check mode' to verify that your servers are still configured the way you want. http://docs.ansible.com/ansible/playbooks_checkmode.html
On Thursday, March 30, 2017 at 7:56:06 PM UTC+1, Kai Stian Olstad wrote: > > On 30. mars 2017 14:03, [email protected] <javascript:> > wrote: > > Now am getting more familiar to Ansible ,Since I am > automating > > my servers using Ansible playbook quit easily.But to be in some more > > precise manner after adding configuration to remote machine How we can > > ensure that remote machines are working with right configuration after > some > > time ? If i say even after a week? is their any privilege is available > in > > available in Ansible. Like kind of Ansible module which will do routine > > check on device and servers configuration and validate them according to > > valid configurations. > > In Ansible you are in the essence saying, this is how I would like this > machine to be configured. > And since Ansible is idempotence it will check if the the configuration > is correct if not it will change the configuration to match the Ansible > code. > > So the only thing you would need to do is run the playbook often, then > you now the server is running with the Ansible configuration. > > -- > Kai Stian Olstad > -- 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/e80ac22f-eceb-4df5-a564-1a24bfdbc65a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
