Are you interested to a mini test suite (with TravisCI) following this guide ?
https://www.jeffgeerling.com/blog/testing-ansible-roles-travis-ci-github
It will check :
- Syntax error in role
- Idempotences
- Install / restart haproxy with sample configuration like in ./test/integration/default/default.yml
- Get a HTTP 200 response on haproxy Stats URI
Are you interested to a mini test suite (with TravisCI) following this guide ?
https://www.jeffgeerling.com/blog/testing-ansible-roles-travis-ci-github
It will check :