]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
rolling_update: Remove ceph aliases
authorDimitri Savineau <dsavinea@redhat.com>
Fri, 15 Mar 2019 14:18:48 +0000 (10:18 -0400)
committerGuillaume Abrioux <gabrioux@redhat.com>
Tue, 9 Apr 2019 14:50:10 +0000 (16:50 +0200)
ceph aliases have been introduced in stable-3.2 during the ceph
deployment. On master this has been removed but we don't handle
this removal in the upgrade from stable-3.2 to master via the
rolling_update playbook.
Also remove the task from purge-docker-cluster missing from
d9e7835

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
infrastructure-playbooks/purge-docker-cluster.yml
infrastructure-playbooks/rolling_update.yml

index c41a6e9dd8eaa8df6e304e5b8bcee28e29735e73..04d0587c0a6be5118cfdd1d4a0c6b8a2c44a482e 100644 (file)
       remove_img
     ignore_errors: true
 
-  - name: remove ceph aliases
-    file:
-      path: /etc/profile.d/ceph-aliases.sh
-      state: absent
-
 - name: check container hosts
 
   hosts:
index 8625927b0a33a6070990c777f2c23ce8984410b0..0ec4ccf201e838a2486c38ece5d2ded0c9a62c83 100644 (file)
   serial: 1
   become: True
   tasks:
+    - name: remove ceph aliases
+      file:
+        path: /etc/profile.d/ceph-aliases.sh
+        state: absent
+      when:
+        - containerized_deployment
+
     - name: set mon_host_count
       set_fact:
         mon_host_count: "{{ groups[mon_group_name] | length }}"