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>
pull/3828/head
Dimitri Savineau 2019-03-15 10:18:48 -04:00 committed by Guillaume Abrioux
parent 9dd913cf8a
commit 57b4e76d11
2 changed files with 7 additions and 5 deletions

View File

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

View File

@ -83,6 +83,13 @@
serial: 1 serial: 1
become: True become: True
tasks: tasks:
- name: remove ceph aliases
file:
path: /etc/profile.d/ceph-aliases.sh
state: absent
when:
- containerized_deployment
- name: set mon_host_count - name: set mon_host_count
set_fact: set_fact:
mon_host_count: "{{ groups[mon_group_name] | length }}" mon_host_count: "{{ groups[mon_group_name] | length }}"