[PATCH] Move koshei handlers to the role

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Michael Scherer <misc@xxxxxxxx>

---
 handlers/restart_services.yml   | 12 ------------
 roles/koschei/handlers/main.yml | 11 +++++++++++
 2 files changed, 11 insertions(+), 12 deletions(-)
 create mode 100644 roles/koschei/handlers/main.yml

diff --git a/handlers/restart_services.yml b/handlers/restart_services.yml
index 58396a0..ab74770 100644
--- a/handlers/restart_services.yml
+++ b/handlers/restart_services.yml
@@ -42,18 +42,6 @@
 - name: restart jenkins
   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
   action: service name=libvirtd state=restarted
 
diff --git a/roles/koschei/handlers/main.yml b/roles/koschei/handlers/main.yml
new file mode 100644
index 0000000..5c37b87
--- /dev/null
+++ b/roles/koschei/handlers/main.yml
@@ -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
-- 
1.8.3.1
_______________________________________________
infrastructure mailing list
infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
http://lists.fedoraproject.org/admin/lists/infrastructure@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux