Skip to content

Commit

Permalink
Syntax check?
Browse files Browse the repository at this point in the history
  • Loading branch information
pmelab committed Nov 3, 2016
1 parent 412c120 commit 0388508
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ script:
- 'docker run --detach --volume="${PWD}":/etc/ansible/roles/ansible-dork-host:ro ${run_opts} geerlingguy/docker-${distro}-ansible:latest "${init}" > "${container_id}"'

# Ansible syntax check.
#- 'docker exec --tty "$(cat ${container_id})" env TERM=xterm ansible-playbook /etc/ansible/roles/ansible-dork-host/tests/test.yml --syntax-check'
- 'docker exec --tty "$(cat ${container_id})" env TERM=xterm ansible-playbook /etc/ansible/roles/ansible-dork-host/tests/test.yml --syntax-check'

# Test role.
- 'docker exec "$(cat ${container_id})" ansible-playbook /etc/ansible/roles/ansible-dork-host/tests/test.yml'
Expand Down
3 changes: 1 addition & 2 deletions handlers/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
- name: restart docker service
systemd:
daemon_reload: yes
service:
name: docker
state: restarted

0 comments on commit 0388508

Please sign in to comment.