zuul-jobs/roles/revoke-sudo/README.rst
Monty Taylor 20aed09893 Remove the right file in revoke-sudo
Also fix the negative test to use shell instead of command, so that
! is parsed as intended.

Change-Id: I9f9dd60a895798cc639863a36b921b64621f6767
2017-09-28 20:15:17 +00:00

9 lines
308 B
ReStructuredText

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.