When we lint our playbooks, we need to also have zuul install our
custom action plugins.
Also default to python3 so we can properly install zuul into tox.
Change-Id: Ib7e39e43005aa73c9d482af6becef3408d097e15
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Move our syntax-check to be first, logic being if we have bad syntax
and ansible-lint will most likely fail.
Clean our redirects to only output failures. It would be nice is
ansible-playbook / ansible-lint could use the same redirects, but
sadly they cannot.
Change-Id: Ia3c5966d60d28b81e2f2c6a446116bb37df6ab23
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Using linters makes more sense, for playbooks / roles. Make the
switch.
Change-Id: I9694f95c3c041f9816c83d60680bfde50e1fb858
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Syntax check our playbooks / roles when we run pep8. This way we can
quickly tests if our playbooks are valid.
Change-Id: Id9b44216820a2b0702e1cfa46cd7603c89ed40d3
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
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>