This instructs Travis to notify Galaxy when a build completes. Since 3.0
the ansible-galaxy has the ability to build and push roles from repos
with multiple roles.
Closes: https://github.com/ceph/ceph-ansible/issues/3165
Signed-off-by: Sébastien Han <seb@redhat.com>
language: python
python:
- "3.6"
-services:
- - docker
notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/
install:
- pip install -r requirements.txt
-before_script:
- - ansible-playbook build/build.yml
script:
- - docker container run --rm -it
- -v /var/run/docker.sock:/var/run/docker.sock:ro
- -v $(pwd):/role:ro
- -e ANSIBLE_VERBOSITY=1
- tecnativa/ansible-test-playground:lifecycle
- create.yml destroy.yml
+ - ansible-playbook -i '127.0.0.1,' site.yml.sample --syntax-check --list-tasks -vv
+ - ansible-playbook -i '127.0.0.1,' site-docker.yml.sample --syntax-check --list-tasks -vv
\ No newline at end of file