[NEW] Ansible Hosts file and Ansible.cfg file - FREE PREVIEW

In this lesson I will be creating a custom Ansible hosts file and a custom ansible.cfg file



# Use local hosts file in folder 

inventory =./hosts

# Don't worry about RSA Fingerprints 

host_key_checking = False

# Do not create .retry files on job failure 

retry_files_enabled = False 

# Do not gather facts

gathering = explicit 

# Change Python Interpreter for Ansible 2.8 onwards

interpreter_python = /usr/bin/python3

Ansible Hosts File

## Ansible Hosts File 


CSR-1 ansible_host=

CSR-2 ansible_host=

CSR-3 ansible_host=

Complete and Continue