tasks: galera_post_install: Do not secure the DB on upgrades
When we perform a DB upgrade we do not need to secure the DB again since it's already secure. Moreover, the script also forces the node to leave the cluster by stopping the service and it doesn't make it join it again properly leading to start-up failures. Change-Id: I2218b97d5759f253f8390ea38e093b288b923b2b
This commit is contained in:
@@ -53,6 +53,7 @@
|
||||
mode: "0750"
|
||||
when:
|
||||
- ansible_pkg_mgr != "apt"
|
||||
- not galera_upgrade
|
||||
|
||||
- name: Run galera secure
|
||||
command: "/usr/local/bin/galera_secure_node"
|
||||
@@ -61,6 +62,7 @@
|
||||
warn: no
|
||||
when:
|
||||
- ansible_pkg_mgr != "apt"
|
||||
- not galera_upgrade
|
||||
tags:
|
||||
- skip_ansible_lint
|
||||
|
||||
|
||||
Reference in New Issue
Block a user