]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
rbdmirror: rename a file
authorGuillaume Abrioux <gabrioux@redhat.com>
Mon, 30 Sep 2019 09:02:52 +0000 (11:02 +0200)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Tue, 1 Oct 2019 14:27:51 +0000 (10:27 -0400)
rename this file to be more generic.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
roles/ceph-rbd-mirror/tasks/main.yml
roles/ceph-rbd-mirror/tasks/start_container_rbd_mirror.yml [new file with mode: 0644]
roles/ceph-rbd-mirror/tasks/start_docker_rbd_mirror.yml [deleted file]

index 6388567c251c6cba414bebdcba3b284c561d8e59..1544c17b70eb5a3a624b8e794b9b01b397cf8330 100644 (file)
@@ -18,8 +18,8 @@
       set_fact:
         container_exec_cmd: "{{ container_binary }} exec ceph-rbd-mirror-{{ ansible_hostname }}"
 
-    - name: include start_docker_rbd_mirror.yml
-      include_tasks: start_docker_rbd_mirror.yml
+    - name: include start_container_rbd_mirror.yml
+      include_tasks: start_container_rbd_mirror.yml
 
 - name: include configure_mirroring.yml
   include_tasks: configure_mirroring.yml
diff --git a/roles/ceph-rbd-mirror/tasks/start_container_rbd_mirror.yml b/roles/ceph-rbd-mirror/tasks/start_container_rbd_mirror.yml
new file mode 100644 (file)
index 0000000..cebeccf
--- /dev/null
@@ -0,0 +1,12 @@
+---
+# Use systemd to manage container on Atomic host
+- name: include_tasks systemd.yml
+  include_tasks: systemd.yml
+
+- name: systemd start rbd mirror container
+  systemd:
+    name: ceph-rbd-mirror@rbd-mirror.{{ ansible_hostname }}
+    state: started
+    enabled: yes
+    masked: no
+    daemon_reload: yes
diff --git a/roles/ceph-rbd-mirror/tasks/start_docker_rbd_mirror.yml b/roles/ceph-rbd-mirror/tasks/start_docker_rbd_mirror.yml
deleted file mode 100644 (file)
index cebeccf..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
----
-# Use systemd to manage container on Atomic host
-- name: include_tasks systemd.yml
-  include_tasks: systemd.yml
-
-- name: systemd start rbd mirror container
-  systemd:
-    name: ceph-rbd-mirror@rbd-mirror.{{ ansible_hostname }}
-    state: started
-    enabled: yes
-    masked: no
-    daemon_reload: yes