Install software from the repositories through the distribution's package manager
When installing packages for users on Red Hat or CentOS from the Software Collections (SCL), make sure there is a shell file in files/etc/profile.d/
that properly enables the package by setting the user's path and such. See the scl-enable-rh-git218.sh
file as an example.
additional_packages: # a list of packages to install
additional_packages_scl: # a list of packages to install from the Software Collections repository
When using a file repository on a Red Hat Satellite server, the client needs a certificate to download packages from it
satellite_client_cert: # location of the Satellite client certificate on the client
local_satellite_client_cert: # location of the Satellite client certificate on the Ansible server
None
- hosts: servers
roles:
- { role: packages, additional_packages: vim }
BSD
Ruud Bleeker [email protected]