Ansible Inventory File Example

Описание к видео Ansible Inventory File Example

In this Ansible Inventory File Example video I will show you what the Ansible Inventory File is and how can you move it?
This Ansible Inventory Tutorial is taken from my Ansible for Network Engineers Course it covers the Ansible Inventory File also known as the Ansible Hosts File. I also cover how to change it's location, what is ansible inventory file and other questions.
https://www.rogerperkin.co.uk/network...

Ansible Inventory File Tutorial Timestamps:
00:00 Start
00:11 What is the Ansible Inventory File?
00:25 Default Ansible Inventory File Location
01:30 Change the default Ansible Inventory file location
04:30 Configuring Children in the hosts file
06:21 Create a custom ansible.cfg file and specify location of Hosts file
07:18 Ansible Inventory Documentation - on docs.ansible.com

More information in this companion blog post
https://www.rogerperkin.co.uk/network...

Check out my Network Automation Courses
https://www.rogerperkin.co.uk/network...

#ansible #networkautomation #rogerperkin

The Ansible Inventory file also known as the Ansible hosts file is one of the most important files in Ansible. Often confused as two different files, this video will answer the question Ansible Inventory vs Hosts File

Ansible Inventory setup is one of the first tasks you need to do when you start using Ansible

It contains all the names / ip addresses of the the devices you want to automate.

The devices can be entered as single hosts or in groups (recommended)

You can also use groups of groups which are referred to as Children.

This video is party of an ansible tutorial for beginners series I am creating

For more information on other Ansible Tutorials I have please check my website

I am currently working as a Network Devops Engineer in the UK and using Ansible for Network Automation

What is the difference between the hosts file and an inventory file in Ansible?

They are the same file used to define hosts that you want to automate with Ansible. The hosts file is the default name created when you install Ansible and is located in /etc/ansible/hosts You can create multiple inventory files and call them what you want as long as you reference them in the ansible.cfg file

Video transcript:


Website:
https://www.rogerperkin.co.uk

Twitter:
  / rogernperkin  

Linkedin:
  / rogerperkin  

Комментарии

Информация по комментариям в разработке