๐Ÿ“ฆ veggiemonk / ansible-tmux

๐Ÿ“„ .travis.yml ยท 23 lines
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23---
language: python
python: "2.7"

env:
  - SITE=playbook.yml

before_install:
  - sudo apt-get update -qq
  - sudo apt-get install curl -y

install:
  - pip install -U ansible

  # Add ansible.cfg to pick up roles path.
  - "{ echo '[defaults]'; echo 'roles_path = ../'; } >> ansible.cfg"

script:
  - "ansible-playbook -i ci/inventory ci/$SITE --syntax-check"

  - "ansible-playbook -i ci/inventory ci/playbook.yml --connection=local --sudo -vvvv"

  - "node --version"