Project

General

Profile

« Previous | Next » 

Revision 0cb7253f

Added by Maximilian Kolb 17 days ago

Fixes #37340 - Use package module to update packages

In favor of just running a shell command via Ansible, you can use the
Ansible module "ansible.builtin.package" to perform package actions such
as installing, updating, and removing packages.

NOTE: "package_names.empty?" is always empty for hosts running Debian or
Ubuntu.

To imitate the behaviour of shell-based job templates in
"foreman_remote_execution", we update all packages if the user input is
empty.

  • added
  • modified
  • copied
  • renamed
  • deleted