Add post_upgrade_task and remove puppet-ceph pkg

Adds a post_upgrade_task to remove the puppet-ceph package which
is no longer required.

Also see change I9cd63ee34dfd964f18a33043980703660b0a55d7 for
the ceph-ansible version.

Change-Id: I74874b81002fe435752a5cd724d2df9683b0cdbf
This commit is contained in:
Giulio Fidente 2021-06-15 10:27:33 +02:00
parent a8b4545e2e
commit e85da3e9ed
1 changed files with 7 additions and 0 deletions

View File

@ -594,3 +594,10 @@ outputs:
name: tripleo_run_cephadm
when: groups['ceph_mon'] | default([]) | length > 0 or
groups['ceph_nfs'] | default([]) | length > 0
post_upgrade_tasks:
- name: Clean puppet-ceph package
when:
- (step | int) == 3
package:
name: puppet-ceph
state: absent