Move a few handlers to the only role using them
This commit is contained in:
parent
0dccd89858
commit
856abe494e
6 changed files with 15 additions and 15 deletions
|
@ -45,9 +45,6 @@
|
||||||
- name: restart jenkins
|
- name: restart jenkins
|
||||||
action: service name=jenkins state=restarted
|
action: service name=jenkins state=restarted
|
||||||
|
|
||||||
- name: restart kojid
|
|
||||||
action: service name=kojid state=restarted
|
|
||||||
|
|
||||||
- name: restart koschei-polling
|
- name: restart koschei-polling
|
||||||
action: service name=koschei-polling state=restarted
|
action: service name=koschei-polling state=restarted
|
||||||
|
|
||||||
|
@ -63,9 +60,6 @@
|
||||||
- name: restart libvirtd
|
- name: restart libvirtd
|
||||||
action: service name=libvirtd state=restarted
|
action: service name=libvirtd state=restarted
|
||||||
|
|
||||||
- name: restart lighttpd
|
|
||||||
action: service name=lighttpd state=restarted
|
|
||||||
|
|
||||||
- name: restart mailman
|
- name: restart mailman
|
||||||
action: service name=mailman state=restarted
|
action: service name=mailman state=restarted
|
||||||
|
|
||||||
|
@ -155,15 +149,6 @@
|
||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
when: ansible_virtualization_role == 'host'
|
when: ansible_virtualization_role == 'host'
|
||||||
|
|
||||||
- name: restart haproxy
|
|
||||||
service: name=haproxy state=restarted
|
|
||||||
|
|
||||||
- name: restart mariadb
|
|
||||||
service: name=mariadb state=restarted
|
|
||||||
|
|
||||||
- name: restart squid
|
|
||||||
service: name=squid state=restarted
|
|
||||||
|
|
||||||
- name: "update ca-trust"
|
- name: "update ca-trust"
|
||||||
command: /usr/bin/update-ca-trust
|
command: /usr/bin/update-ca-trust
|
||||||
|
|
||||||
|
|
|
@ -9,3 +9,6 @@
|
||||||
|
|
||||||
- name: systemctl daemon-reload
|
- name: systemctl daemon-reload
|
||||||
command: /usr/bin/systemctl daemon-reload
|
command: /usr/bin/systemctl daemon-reload
|
||||||
|
|
||||||
|
- name: restart lighttpd
|
||||||
|
action: service name=lighttpd state=restarted
|
||||||
|
|
3
roles/haproxy/handlers/main.yml
Normal file
3
roles/haproxy/handlers/main.yml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
---
|
||||||
|
- name: restart haproxy
|
||||||
|
service: name=haproxy state=restarted
|
3
roles/koji_builder/handlers/main.yml
Normal file
3
roles/koji_builder/handlers/main.yml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
---
|
||||||
|
- name: restart kojid
|
||||||
|
action: service name=kojid state=restarted
|
3
roles/kojipkgs/handlers/main.yml
Normal file
3
roles/kojipkgs/handlers/main.yml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
---
|
||||||
|
- name: restart squid
|
||||||
|
service: name=squid state=restarted
|
3
roles/mariadb_server/handlers/main.yml
Normal file
3
roles/mariadb_server/handlers/main.yml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
---
|
||||||
|
- name: restart mariadb
|
||||||
|
service: name=mariadb state=restarted
|
Loading…
Add table
Add a link
Reference in a new issue