diff --git a/roles/installer/tasks/migrate_schema.yml b/roles/installer/tasks/migrate_schema.yml index 31d2d0c3..aeb7eb5e 100644 --- a/roles/installer/tasks/migrate_schema.yml +++ b/roles/installer/tasks/migrate_schema.yml @@ -6,7 +6,7 @@ pod: "{{ awx_web_pod_name }}" container: "{{ ansible_operator_meta.name }}-web" command: >- - bash -c "awx-manage showmigrations | grep -v '[X]' | grep '[ ]' | wc -l" + bash -c "awx-manage showmigrations | grep -v '(no migrations)' | grep -v '[X]' | grep '[ ]' | wc -l" changed_when: false when: awx_web_pod_name != '' register: database_check