Hello, On Fri, May 18, 2018 at 03:30:31PM -0700, Carlton Patterson wrote: > Can someone let me know how to use ansible to determine the differences > between two machines.
Have a look at all the facts that ansible knows about a host by running: $ ansible target-hostname -m setup If there is some attribute of the host that is important to you but isn't currently in the available facts then you could make a custom fact: <https://medium.com/@jezhalford/ansible-custom-facts-1e1d1bf65db8> You can then use the facts as variables in your tasks and templates in order to do different things. Cheers, Andy -- 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-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/20180519180749.GG4569%40bitfolk.com. For more options, visit https://groups.google.com/d/optout.