As your system grows and more managed nodes are added the need to Ansible Variables will increase. Ansible is now part of the Red Hat Enterprise Linux 8 RHCE and we extend on what will be taught in any Red Hat class as we include other Linux distributions, something common in the workplace. adding in Ubuntu hosts will create a demand to use variables for package names for the web server as an example. To differentiate between httpd on RHEL and apache2 on Ubuntu. We will also see using YAML based inventory files keeps the file easier to manage as the variables make up part of the group definition which is no the case with INI files. Using YAML inventory files make better sense when the inventory grows as we have here with variables.
Additionally you can find my video courses on Pluralsight: http://pluralsight.com/training/Autho... and take time to see my own site http://www.theurbanpenguin.com
Watch video RHCE 8 - Using Ansible Variables in Inventory Files online without registration, duration hours minute second in high quality. This video was added by user theurbanpenguin 24 August 2019, don't forget to share it with your friends and acquaintances, it has been viewed on our site 6,441 once and liked it 83 people.