-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy path.travis.yml
34 lines (34 loc) · 2.32 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
language: python
sudo: required
services: docker
env:
matrix:
- OS=centos6
- OS=ubuntu14.04
- OS=ubuntu16.10
- OS=centos7
global:
secure: HvQzLkPTRVvcRwonxdGnAP9a1UqC67r1KMhLt4M4CIVmunvmyWgGab88UF5BMDczNh7C9SFN+3T5XC7ELAmUYOKhjT7Yvso1DEcGQ/miGAITdUti6DqiaQ8D5KcI8GKdkpACwyU94BhXtm2SgM4ctS7dBiIzJTHLjAhA9CHI4r/LYE6OwqOelm1ZMk02el9lnCxPpV9BsfetqROx4brknpgWfawG5tCKcvbMCAuT5AWy/mc8AOs7ALuCi5U9qHfem06jxhjmXJ03TfHFJ1DYeV7m04Qr8/leHq2JRLtqdIHZmim5QRcktye6bFEPdzx9J5FGOeqitOJmWqZAf/ABfIwTm5T4GT9Qo99uUSucxjC7z3eKDKbwIIB29CKphJ5po6BEli3qLvNzlo/0FUsDN4Wcy56STVufl0sZiEFnxPEkVvOl26xdCw6XRIi4t2xHmydLtg9n2TZ2rFhrUyuYoSgM2fRLtegIFsBKyfvV3KLIYJ1VuqrIoDDEEe+vTB5Hw1j91fVpzwXu2l+XVjfwBSTSxP5WZp6y3d+Ee7jaZ3YGZcLkZfCuPMcvQXrPuR7ZFzTpr+Zl1nn3eoKc20dO5IHvEEDVhiE4CsMAqLljukvWFGzqOqMG6V7lg2k4iC0BaMpOnyZB/EtWpmddxFAn9oVuyyXyXWO+huise1kUax4=
before_install:
- echo $VAULT_PASSWORD
- docker pull quay.io/aaroc/ansible-ready-${OS}
install:
- docker run -v $PWD:$PWD -w $PWD quay.io/aaroc/ansible-ready-${OS} ansible-playbook
-c local -i handson/inventory.localhost handson/lesson1.yml
- docker run -v $PWD:$PWD -w $PWD quay.io/aaroc/ansible-ready-${OS} ansible-playbook
-c local -i handson/inventory.localhost handson/lesson3.yml
- sudo pip install ansible
script:
- cd course-preparation/Ansible
- echo ${VAULT_PASSWORD} > vault_password
- ansible-playbook -c local -i travis.ini -C training-lab.yml --vault-password-file=vault_password
- ansible-playbook -c local -i travis.ini training-lab.yml --vault-password-file=vault_password
notifications:
webhooks:
on_success: change
on_failure: always
on_start: change
on_cancel: always
on_error: always
slack:
secure: Bko15pWpKN9ndvUGESTDwX/6KL2boCb25ZLoG55gnzggGkZDZ8p/QtcMP5Ro2Q3aLFYnjXyFUalqfn0ejUEzAp4VC8irwsnPDARhsvTh1sClwrVYI6hhTfxGUPkjNCG64/Y3weDD5ZmCW/k1s4ylK4enVGvMSy4/6gayM5qyjGuQ/eYIAlqJnkzyBjUHcIDGVVAjSf0w6/IF9MZ5zotQUObvVPhrWNX+KkNTUjp7reHT4lLHN6OVpDv10RQJaAwQPxAZOV+Lb03F1e6xZ4st3fKYWK/+nv5oAOgZx8Q6IuIY2ax6qpzF8AF+SAapAXIp77irf7oeBUXlojWqlDGu9qt7XWhymkA3orwMOToner9haVa93Nk0FCvBk56z/GWSrVe2yaWZKNFIm7Lf5H6mwJMunMoKHZRyYVN2Nk0uUfEgu9MXPVxaM/BBn4kuJfu8qNcz4PhOB/1RlaBmXrViB+guNmj13Bn1FxpltXvBKoGieR9zQ8ht/MgcwIgXFEqdQTGkdSf3iBvbv+Ci4br45bz7bLFHoRKHF+luN8XHSPRrDV8vtZu5O4e25GuTTb6pp2v++4FIZucZ7a5iAauDu4bhQnrqTJ0283bnnIDd3XMf+sAdsGFlHC6tqv75GLSSfi3BWT4RkJtLttMLzT/ZSEf7lKDhrRkPbanxh8gW4R0=