RHCE 8 - Using Ansible Variables in Inventory Files

Опубликовано: 24 Август 2019
на канале: theurbanpenguin
6,441
83

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