Skip to content

Commit

Permalink
Add ansible-lint to the Travis config
Browse files Browse the repository at this point in the history
  • Loading branch information
alexclear authored and angstwad committed Mar 4, 2019
1 parent 6477d27 commit 9c7f9d6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@ before_install:
install:
# Install Ansible.
- sudo pip install $ANSIBLE_VERSION
- sudo pip install ansible-lint
script:
- ansible --version
- export ANSIBLE_ROLES_PATH="../"
- ansible-lint ./
# - echo localhost > inventory
- ansible-playbook -i hosts --syntax-check docker.yml
- ansible-playbook -i hosts --connection=local --sudo -vvvv docker.yml

0 comments on commit 9c7f9d6

Please sign in to comment.