]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
infra: move restart fw handler in ceph-infra role
authorGuillaume Abrioux <gabrioux@redhat.com>
Thu, 18 Oct 2018 11:41:49 +0000 (13:41 +0200)
committermergify[bot] <mergify[bot]@users.noreply.github.com>
Fri, 19 Oct 2018 00:12:43 +0000 (00:12 +0000)
Move the handler to restart firewall in ceph-infra role.

Closes: #3243
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
roles/ceph-common/handlers/main.yml [deleted file]
roles/ceph-infra/handlers/main.yml [new file with mode: 0644]

diff --git a/roles/ceph-common/handlers/main.yml b/roles/ceph-common/handlers/main.yml
deleted file mode 100644 (file)
index 5a9d524..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
----
-- name: restart firewalld
-  service:
-    name: firewalld
-    state: restarted
-    enabled: yes
diff --git a/roles/ceph-infra/handlers/main.yml b/roles/ceph-infra/handlers/main.yml
new file mode 100644 (file)
index 0000000..5a9d524
--- /dev/null
@@ -0,0 +1,6 @@
+---
+- name: restart firewalld
+  service:
+    name: firewalld
+    state: restarted
+    enabled: yes