Skip to content

Commit

Permalink
Merge pull request #440 from GreatFruitOmsk/hotfix/ansible-fix-servic…
Browse files Browse the repository at this point in the history
…e-restart

inline handlers into playbook
  • Loading branch information
vpetersson committed Jun 7, 2016
2 parents 348cc71 + 9353ce5 commit d0298ad
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
11 changes: 0 additions & 11 deletions ansible/handlers/main.yml

This file was deleted.

11 changes: 10 additions & 1 deletion ansible/site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,16 @@
become: yes

handlers:
- include: handlers/main.yml
- name: restart-nginx
service:
name: nginx
state: restarted

- name: restart-screenly-server
command: systemctl restart screenly-web.service

- name: restart-screenly-viewer
command: systemctl restart screenly-viewer.service

roles:
- system
Expand Down

0 comments on commit d0298ad

Please sign in to comment.