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
|
daemon_reload: yes
|
||||||
|
|
||||||
- name: restart yanic
|
- name: restart yanic
|
||||||
|
when: server_type == "monitoring"
|
||||||
systemd:
|
systemd:
|
||||||
name: yanic
|
name: yanic
|
||||||
state: restarted
|
state: restarted
|
||||||
|
|
|
@ -26,6 +26,9 @@
|
||||||
shell: 'go install {{ gopath }}/src/{{ yanic_dst }}'
|
shell: 'go install {{ gopath }}/src/{{ yanic_dst }}'
|
||||||
environment:
|
environment:
|
||||||
GOPATH: "{{ gopath }}"
|
GOPATH: "{{ gopath }}"
|
||||||
|
notify:
|
||||||
|
- restart respondd
|
||||||
|
- restart yanic
|
||||||
|
|
||||||
- name: configure yanic
|
- name: configure yanic
|
||||||
include_tasks: yanic.yml
|
include_tasks: yanic.yml
|
||||||
|
|
Loading…
Reference in a new issue