Ansible 101 - This video shows how to best understand and use Ansible hosts files: both the default hosts file and additional hosts files.
Now that you've got Ansible installed (part 1) and your SSH keys generated and copied out to all of your inventory (part 2), the next step is to tell Ansible what your inventory consists of.
With the Ansible hosts file, we can list sources by IP address, DNS name, or a mixture of the two. There is a default Ansible hosts file when you install Ansible that is located in:
/etc/ansible/hosts
Please note: you can have multiple hosts files. This is important for viewers who want to automate their Nagios deployment. (When you examine the scripts we provide with XI 5.5+, you'll see a hosts file that is local to the project directory we're working in.)
Tip: learn about the power of groups in the hosts file!
VIDEO series: How to install & use Ansible @ http://nag.is/ansible
Download XI 5.5+ @ http://nag.is/xidd
About Ansible: https://www.ansible.com/
About Nagios XI: http://nag.is/xipd
Nagios homepage: https://www.nagios.com
#Ansible #Nagios #NetworkAutomation #NetworkMonitoring #AgentDeployment #ITprofessional