Project

General

Profile

Actions

Bug #37340

closed

Cannot update packages on non-EL hosts

Added by Maximilian Kolb 7 months ago. Updated 7 months ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Steps to Reproduce on Foreman 3.9 + Katello 4.11:

1. go to monitor > jobs
2. click run job
3. select katello via ansible & update package - katello ansible default
4. select two hosts: EL 8 and Debian 12
5. enter "vim" as package
6. click run on selected

Result: fails on Debian because the job template does not really make use of Ansible's capabilities

---
- hosts: all
  tasks:
    - shell:
        cmd: |
          yum -y update vim
      register: out
    - debug: var=out

See also rg -i "Katello Ansible Default" in the katello repository.

Actions

Also available in: Atom PDF