Hello folks,
How can I install a package, for example “python pip” on several hosts at one time via the foreman webGui?
Hello,
There are several approaches that you can take here, depending on your situation:
- If you are using the Katello plugin to manage content on your hosts, you can mass install packages using bulk actions - see the Manual for more details.
- If you are using puppet, you can use or create a puppet module that ensures that package is installed on the hosts. Once you assign the relevant class to the hosts, they will install the package on the next puppet run.
- You can use the Remote Execution plugin to run a command on multiple hosts at once.
- If you use ansible, you can create a playbook that installs the package and use the Ansible plugin to run the playbook against all the hosts.