Update ceph galaxy cleanup for monolithic repo

In pike we began using the monolithic ceph-ansible repo to source the ceph roles
instead of the broken out galaxy repos[1]. However, in doing this change, we must
also address the situation where upgrades from Pike already have the galaxy style
roles in place in /etc/ansible/roles. Since the ceph-ansible monolithic roles are
later in the roles search path, we continue using the older Pike-installed roles
for ceph, which breaks things with newer ansible versions in Queens.

We should address this by deleting the older Pike roles during the upgrade so
the ceph-ansible monolithic roles will be used going forward.

[1] https://review.openstack.org/632142

Closes-Bug: #1784066
Change-Id: I552ebcaf41f101703f52ca9149b90db458190ddc
(cherry picked from commit 97acfc5ea6)
This commit is contained in:
Logan V 2018-08-02 09:50:53 -06:00 committed by Jesse Pretorius (odyssey4me)
parent 03adca70dc
commit dcd6f2b031

View File

@ -29,3 +29,9 @@
with_items:
- ceph.ceph-docker-common
- ceph.ceph-common
- ceph-common
- ceph-config
- ceph-defaults
- ceph-mgr
- ceph-mon
- ceph-osd