tripleo-heat-templates/deployment/rhsm
David Vallee Delisle 53d3af77f7 Disabling container validation when running redhat-subscription
subscription-manager will fail if run from within a container. Since
some nodes are bindmounting /run, a .containerenv file is exposed
inside /run on the hosts and this breaks subscription-manager on
overcloud nodes.

We can bypass this validation from subscription-manager by enabling the
SMDEV_CONTAINER_OFF environment boolean as described here [1].

Related: https://bugzilla.redhat.com/show_bug.cgi?id=2058540
[1] https://github.com/candlepin/subscription-manager/pull/2652/files

Co-authored-by: Bogdan Dobrelia <bdobreli@redhat.com>
Depends-On: https://review.opendev.org/c/openstack/ansible-role-redhat-subscription/+/831810
Change-Id: Id23af246cc91fa830c30985437791533e8bd354c
2022-03-31 18:44:45 +05:30
..
rhsm-baremetal-ansible.yaml Disabling container validation when running redhat-subscription 2022-03-31 18:44:45 +05:30