20aed09893
Also fix the negative test to use shell instead of command, so that ! is parsed as intended. Change-Id: I9f9dd60a895798cc639863a36b921b64621f6767
308 B
308 B
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.