Role service-yanic: restart yanic and respondd
This commit is contained in:
parent
3c010e2c5f
commit
552c1f2729
2 changed files with 4 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
|||
daemon_reload: yes
|
||||
|
||||
- name: restart yanic
|
||||
when: server_type == "monitoring"
|
||||
systemd:
|
||||
name: yanic
|
||||
state: restarted
|
||||
|
|
|
@ -26,6 +26,9 @@
|
|||
shell: 'go install {{ gopath }}/src/{{ yanic_dst }}'
|
||||
environment:
|
||||
GOPATH: "{{ gopath }}"
|
||||
notify:
|
||||
- restart respondd
|
||||
- restart yanic
|
||||
|
||||
- name: configure yanic
|
||||
include_tasks: yanic.yml
|
||||
|
|
Loading…
Reference in a new issue