diff --git a/tasks/galera_install.yml b/tasks/galera_install.yml index f607d1d5..82234a12 100644 --- a/tasks/galera_install.yml +++ b/tasks/galera_install.yml @@ -13,13 +13,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -- name: Fail if the galera root password is not provided - fail: - msg: | - Please set the galera_root_password variable prior to applying the - galera role. - when: (galera_root_password is undefined) or (galera_root_password is none) - - name: Preseed galera password(s) debconf: name: "{{ item.name }}" diff --git a/tasks/main.yml b/tasks/main.yml index 40129194..8c4da000 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -13,6 +13,13 @@ # See the License for the specific language governing permissions and # limitations under the License. +- name: Fail if the galera root password is not provided + fail: + msg: | + Please set the galera_root_password variable prior to applying the + galera role. + when: (galera_root_password is undefined) or (galera_root_password is none) + - include: galera_upgrade_check.yml - include: galera_cluster_state.yml - include: galera_pre_install.yml