rolling_update: Remove ceph aliases

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>
(cherry picked from commit 57b4e76d11)
pull/3831/head
Dimitri Savineau 2019-03-15 10:18:48 -04:00 committed by mergify[bot]
parent c60915733a
commit 532d749b2e
2 changed files with 7 additions and 5 deletions

View File

@ -568,11 +568,6 @@
remove_img
ignore_errors: true
- name: remove ceph aliases
file:
path: /etc/profile.d/ceph-aliases.sh
state: absent
- name: check container hosts
hosts:

View File

@ -83,6 +83,13 @@
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 }}"