From 9e87a5ae5eb974ed2f09f31585c410c10cae40fb Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C3=A9bastien=20Han?= Date: Tue, 30 Oct 2018 12:18:16 +0100 Subject: [PATCH] travis: add ansible-galaxy integration MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- .travis.yml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index 74612221b..e862e399d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,18 +2,10 @@ sudo: required 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 -- 2.39.5