Merge "Workaround for subscription-manager"

This commit is contained in:
Zuul 2022-06-13 20:30:01 +00:00 committed by Gerrit Code Review
commit 4cb5386d68
1 changed files with 9 additions and 0 deletions

View File

@ -89,6 +89,15 @@ outputs:
host_prep_tasks:
- name: Install and configure Podman
block: &install_and_configure_podman
- name: Ensure subscription-manager is not detecting container
when:
- ansible_facts['distribution'] == 'RedHat'
# Needed in order to solve rhbz#2075080.
# Please refer to rhbz#2095316 for more internal details.
file:
dest: /etc/rhsm-host
src: /etc/rhsm
state: link
- name: Set login facts
no_log: true
set_fact: