zuul-jobs/roles/revoke-sudo
Paul Belanger 829297c37a
Ensure we load roles for linting
Did didn't have ansible-lint setup properly, as a results our roles
weren't actually linted properly.

Fix variable linting issues and ignore ANSIBLE0012.

Change-Id: I07aa940245e700c9f08df0f1920720f0ed9d3de0
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-07-17 16:50:06 -04:00
..
tasks Ensure we load roles for linting 2017-07-17 16:50:06 -04: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.