Problem:
Satellite : Ansible role cannot run on CentOS 8
Expected outcome:
Foreman and Proxy versions:
foreman-1.22.0.36-1.el7sat.noarch
Foreman and Proxy plugin versions:
foreman-proxy-1.22.0.3-1.el7sat.noarch
foreman-proxy-content-3.12.0-3.el7sat.noarch
Distribution and version:
satellite-6.6.2-1.el7sat.noarch
Other relevant data:
By default, the ansible role will start with debugging and print out all foreman parameters.
—
- hosts: all
pre_tasks:
- name: Display all parameters known for the Foreman host
debug:
var: foreman
roles:
<%- if @host.all_ansible_roles.present? -%>
<%= @host.all_ansible_roles.map { |role| " - #{role.name.strip}" }.join("\n") %>
<%- end -%>
As soon as this role is running on CentOS 8, the job will be stopped after foreman_subnet and without error, only an exit status 0
[...]
subnet:
boot_mode: Static
description: ''
dns_primary: x.x.x.x
dns_secondary: x.x.x.x
from: ''
gateway: x.x.x.x
ipam: None
mask: 255.255.255.0
mtu: 1500
name: x.x.x.x
network: x.x.x.x
network_type: IPv4
to: ''
vlanid: null
subnet6: null
tag: null
type: Interface
virtual: false
foreman_subne
Exit status: 0
Unfortunately, my ansible role will never run.
As anyone an Idea what could be the problem? Is it a known issue?
Thanks and best regards,
H.