This is a proposal that leverages the use of Ansible as an orchestrator of the integration and continuous delivery processes.
The flow begins when a developer makes a change in the code and publishes it to the source code repository (gitlab github bitbucket) hence a runner or webhook/ bitbucket pipeline identify the type of project, change, branch and different variables to call a workflow in ansible that includes the different steps (jobs) to complete the release.
Depending on the type of application, a workflow is executed and different jobs from playbooks are launched:
unit Unit tests.
sonarqube Coverage tests and code analysis.
taurus Coordinator of execution of functional and load tests.
appium Automation for Mobile Applications.
selenium Functional tests in web.
jmeter Load tests.
jenkins Construction and publication of artifacts.
testfairy Distribution of Mobile Applications.
openshift Publish web applications and services to PaaS.
http://spotlight-web-spotlight.1d35.starter-us-east-1.openshiftapps.com/
Integration with CMDB, Reporting servers, agile project management tools and analysis engines.
Source code for this presentation and projects in github