Add post_upgrade_task and remove puppet-ceph pkg

This change adds a post_upgrade used to remove the
puppet-ceph package which is no longer required.
No ceph components depend on it, so it should be
removed from the system.

Change-Id: I9cd63ee34dfd964f18a33043980703660b0a55d7
This commit is contained in:
Francesco Pantano 2020-04-10 18:35:30 +02:00 committed by wes hayutin
parent a71877c843
commit 62a22a831e
1 changed files with 7 additions and 1 deletions

View File

@ -540,7 +540,6 @@ outputs:
value:
service_name: ceph_base
upgrade_tasks: []
post_upgrade_tasks: []
puppet_config:
config_image: ''
config_volume: ''
@ -692,3 +691,10 @@ outputs:
- name: set ceph_ansible_playbooks_default
set_fact:
ceph_ansible_playbooks_default: ["/usr/share/ceph-ansible/infrastructure-playbooks/rolling_update.yml"]
post_upgrade_tasks:
- name: Clean puppet-ceph package
when:
- (step | int) == 3
package:
name: puppet-ceph
state: absent