zuul-jobs/roles/revoke-sudo
Monty Taylor 3dc03ee0d6
Rename zuul-revoke-sudo to revoke-sudo
Depends-On: If639d35ded59621c38d0ecb16344817fd176c31c
Change-Id: I51454b86b5d8b6c3c26615437a3b7ce386134435
2017-07-06 19:14:53 -05:00
..
tasks Rename zuul-revoke-sudo to revoke-sudo 2017-07-06 19:14:53 -05:00
README.rst Rename zuul-revoke-sudo to revoke-sudo 2017-07-06 19:14:53 -05:00

Remove sudo access for the Zuul user.

If the file /etc/sudoers.d/zuul-sudo 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.