<div dir="ltr">Hi everyone,<div><br></div><div>Currently there are jenkins macros for Ansible role testing that cover syntax [1] and lint [2] tests. I'd like to add a generic ansible playbook 'run' test which executes a test playbook for the role, and perhaps an 'idempotence' test which executes the test playbook twice and checks that the role does not change anything on the second run.</div><div><br></div><div>It should be straightforward enough to do this using the established tests/test.yml playbook referred to by the syntax macro.</div><div><br></div><div>Before I go ahead and do this, are there any concerns that I may not be aware of that may cause a conflict here? Are there any additional suggestions or requirements that should be included?</div><div><br></div><div>Are there any better suggestions for the naming of the job - for now my thinking is simply for the job names to be:<br></div><div> - ansible-playbook-run</div><div> - ansible-playbook-idempotence</div><div><br></div><div>[1] <a href="https://git.openstack.org/cgit/openstack-infra/project-config/tree/jenkins/jobs/macros.yaml#n315">https://git.openstack.org/cgit/openstack-infra/project-config/tree/jenkins/jobs/macros.yaml#n315</a></div><div>[2] <a href="https://git.openstack.org/cgit/openstack-infra/project-config/tree/jenkins/jobs/macros.yaml#n330">https://git.openstack.org/cgit/openstack-infra/project-config/tree/jenkins/jobs/macros.yaml#n330</a><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>Jesse</div><div>IRC: odyssey4me</div></div></div>
</div></div>