diff --git a/roles/maas_region_controller/tasks/install_maas.yaml b/roles/maas_region_controller/tasks/install_maas.yaml index e2e79bc..13459a6 100644 --- a/roles/maas_region_controller/tasks/install_maas.yaml +++ b/roles/maas_region_controller/tasks/install_maas.yaml @@ -65,7 +65,7 @@ when: maas_ha_postgres_enabled|bool - name: Migrate MAAS database - ansible.builtin.command: "{{ 'maas' if maas_installation_type | lower == 'snap' else 'maas-region' }} migrate" + ansible.builtin.command: "{{ 'maas' if maas_installation_type | lower == 'snap' else 'maas-region' }} dbupgrade" changed_when: false register: pg_migrate until: pg_migrate is not failed @@ -133,3 +133,4 @@ path: "{{ maas_installmetric_file }}" state: touch mode: 0644 +