Remove workaround for tempest sudoers

This removes the workaround added in
I2d06904cc89e398f82ffc8b4f2d862427507d0dc. It is no longer required once
that patch is included in the tripleo-common package.

Change-Id: I51e8f830a35766033b063d2128a8a0a678308b32
This commit is contained in:
Oliver Walsh
2021-12-13 15:47:32 +00:00
parent 9b61889d74
commit 7a7a2a13f5

View File

@@ -1,12 +1,7 @@
tcib_actions:
- run: bash /usr/local/bin/uid_gid_manage {{ tcib_user }}
- run: dnf -y install {{ tcib_packages['common'] | join(' ') }} && dnf clean all && rm -rf /var/cache/dnf
- run: >-
if [ -e /usr/share/openstack-tripleo-common-containers/container-images/tcib/base/os/tempest/tempest_sudoers ]; then
cp /usr/share/openstack-tripleo-common-containers/container-images/tcib/base/os/tempest/tempest_sudoers /etc/sudoers.d/tempest_sudoers;
else
sed -e 's/cloud-admin/tempest/' /usr/share/openstack-tripleo-common-containers/container-images/kolla/tripleoclient/tripleoclient_sudoers > /etc/sudoers.d/tempest_sudoers;
fi
- run: cp /usr/share/openstack-tripleo-common-containers/container-images/tcib/base/os/tempest/tempest_sudoers /etc/sudoers.d/tempest_sudoers
- run: chmod 440 /etc/sudoers.d/tempest_sudoers
tcib_packages: