Move koshei handlers to the role
This commit is contained in:
parent
137dc7c148
commit
062a0f4692
2 changed files with 11 additions and 12 deletions
|
@ -42,18 +42,6 @@
|
||||||
- name: restart jenkins
|
- name: restart jenkins
|
||||||
action: service name=jenkins state=restarted
|
action: service name=jenkins state=restarted
|
||||||
|
|
||||||
- name: restart koschei-polling
|
|
||||||
action: service name=koschei-polling state=restarted
|
|
||||||
|
|
||||||
- name: restart koschei-resolver
|
|
||||||
action: service name=koschei-resolver state=restarted
|
|
||||||
|
|
||||||
- name: restart koschei-scheduler
|
|
||||||
action: service name=koschei-scheduler state=restarted
|
|
||||||
|
|
||||||
- name: restart koschei-watcher
|
|
||||||
action: service name=koschei-watcher state=restarted
|
|
||||||
|
|
||||||
- name: restart libvirtd
|
- name: restart libvirtd
|
||||||
action: service name=libvirtd state=restarted
|
action: service name=libvirtd state=restarted
|
||||||
|
|
||||||
|
|
11
roles/koschei/handlers/main.yml
Normal file
11
roles/koschei/handlers/main.yml
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
- name: restart koschei-polling
|
||||||
|
action: service name=koschei-polling state=restarted
|
||||||
|
|
||||||
|
- name: restart koschei-resolver
|
||||||
|
action: service name=koschei-resolver state=restarted
|
||||||
|
|
||||||
|
- name: restart koschei-scheduler
|
||||||
|
action: service name=koschei-scheduler state=restarted
|
||||||
|
|
||||||
|
- name: restart koschei-watcher
|
||||||
|
action: service name=koschei-watcher state=restarted
|
Loading…
Add table
Add a link
Reference in a new issue