[PATCH 3/4] Move the handler for restarting apache to apache role

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

 



And make mod_wsgi depend on the role
---
 roles/apache/handlers/main.yml   | 2 ++
 roles/mod_wsgi/handlers/main.yml | 2 --
 roles/mod_wsgi/meta/main.yml     | 2 ++
 3 files changed, 4 insertions(+), 2 deletions(-)
 create mode 100644 roles/apache/handlers/main.yml
 delete mode 100644 roles/mod_wsgi/handlers/main.yml
 create mode 100644 roles/mod_wsgi/meta/main.yml

diff --git a/roles/apache/handlers/main.yml b/roles/apache/handlers/main.yml
new file mode 100644
index 0000000..f599732
--- /dev/null
+++ b/roles/apache/handlers/main.yml
@@ -0,0 +1,2 @@
+- name: restart apache
+  command: /usr/local/bin/conditional-restart.sh httpd httpd
diff --git a/roles/mod_wsgi/handlers/main.yml b/roles/mod_wsgi/handlers/main.yml
deleted file mode 100644
index f599732..0000000
--- a/roles/mod_wsgi/handlers/main.yml
+++ /dev/null
@@ -1,2 +0,0 @@
-- name: restart apache
-  command: /usr/local/bin/conditional-restart.sh httpd httpd
diff --git a/roles/mod_wsgi/meta/main.yml b/roles/mod_wsgi/meta/main.yml
new file mode 100644
index 0000000..d43ec26
--- /dev/null
+++ b/roles/mod_wsgi/meta/main.yml
@@ -0,0 +1,2 @@
+dependencies:
+- role: apache
-- 
1.8.3.1
_______________________________________________
infrastructure mailing list
infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
https://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