Revert "Workaround for subscription-manager"

This reverts commit 215d918651.

Reason for revert:
This change breaks subscription-manager at host. Because of this
the subscription-manager plugin features like pinning RHEL minor
release can't be used properly.

Closes-Bug: #1987046
Change-Id: I620179d5d17df2d98d3fb0392362e8e9ce882701
This commit is contained in:
Takashi Kajinami 2022-08-19 16:46:33 +09:00
parent 01f4583111
commit 7f71cda2c9

View File

@ -89,15 +89,6 @@ 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: