zuul-jobs/roles/revoke-sudo
Albin Vass 86b6edb421 revoke-sudo: delete cloud-config sudoers file
Change-Id: Icc3d1b4122d5328dd900d8ce581755f53030ed21
2020-11-13 15:58:38 +01:00
..
tasks revoke-sudo: delete cloud-config sudoers file 2020-11-13 15:58:38 +01:00
README.rst Remove the right file in revoke-sudo 2017-09-28 20:15:17 +00:00

Remove sudo access for the Zuul user.

If the file /etc/sudoers.d/zuul exists, then it will be removed. This is to facilitate systems which may use the same image for tests which require sudo and those which do not.

This role also asserts that sudo access has been removed and will fail if it has not.