Move a few handlers to the only role using them

This commit is contained in:
Michael Scherer 2016-04-04 22:40:13 +02:00 committed by Kevin Fenzi
parent 0dccd89858
commit 856abe494e
6 changed files with 15 additions and 15 deletions

View file

@ -45,9 +45,6 @@
- name: restart jenkins
action: service name=jenkins state=restarted
- name: restart kojid
action: service name=kojid state=restarted
- name: restart koschei-polling
action: service name=koschei-polling state=restarted
@ -63,9 +60,6 @@
- name: restart libvirtd
action: service name=libvirtd state=restarted
- name: restart lighttpd
action: service name=lighttpd state=restarted
- name: restart mailman
action: service name=mailman state=restarted
@ -155,15 +149,6 @@
ignore_errors: true
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"
command: /usr/bin/update-ca-trust

View file

@ -9,3 +9,6 @@
- name: systemctl daemon-reload
command: /usr/bin/systemctl daemon-reload
- name: restart lighttpd
action: service name=lighttpd state=restarted

View file

@ -0,0 +1,3 @@
---
- name: restart haproxy
service: name=haproxy state=restarted

View file

@ -0,0 +1,3 @@
---
- name: restart kojid
action: service name=kojid state=restarted

View file

@ -0,0 +1,3 @@
---
- name: restart squid
service: name=squid state=restarted

View file

@ -0,0 +1,3 @@
---
- name: restart mariadb
service: name=mariadb state=restarted