Mass package install via webGui

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:

  1. 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.
  2. 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.
  3. You can use the Remote Execution plugin to run a command on multiple hosts at once.
  4. 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.