Hi everyone,

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.

It should be straightforward enough to do this using the established
tests/test.yml playbook referred to by the syntax macro.

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?

Are there any better suggestions for the naming of the job - for now my
thinking is simply for the job names to be:
 - ansible-playbook-run
 - ansible-playbook-idempotence

[1]
https://git.openstack.org/cgit/openstack-infra/project-config/tree/jenkins/jobs/macros.yaml#n315
[2]
https://git.openstack.org/cgit/openstack-infra/project-config/tree/jenkins/jobs/macros.yaml#n330

-- 
Jesse
IRC: odyssey4me
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to