Merge "Remove mariadb-server packages from the host" into stable/train

This commit is contained in:
Zuul 2021-11-01 14:34:34 +00:00 committed by Gerrit Code Review
commit 7992e9f3d0
2 changed files with 6 additions and 6 deletions

View File

@ -359,6 +359,11 @@ outputs:
container_image_latest: "{{galera_image_latest}}"
when:
- old_galera_image_id.stdout != new_galera_image_id.stdout
- name: Ensure mariadb-server is not installed on the host
when: step|int == 2
yum:
name: 'mariadb-server*'
state: absent
post_update_tasks:
- name: Mysql bundle post update
@ -555,12 +560,6 @@ outputs:
# So do not exercise the upgrade if mysql is already running.
when: step|int == 3
block:
# mariadb package changes ownership of /var/lib/mysql on package
# update, so update here rather than in tripleo-package, to
# guarantee that ownership is fixed at the end of step 3
- name: Update host mariadb packages
when: step|int == 3
package: name=mariadb-server-galera state=latest
- name: Mysql upgrade script
set_fact:
mysql_upgrade_script:

View File

@ -235,6 +235,7 @@ outputs:
httpd
kernel-devel
mysql*
mariadb-server*
pacemaker*
python-jsonpointer
qemu-kvm-common-rhev