From e9750b489e12899c75d5dfb7811701c2c38123eb Mon Sep 17 00:00:00 2001 From: Albert Daunis <107306446+aldato@users.noreply.github.com> Date: Wed, 25 Jun 2025 21:59:23 +0200 Subject: [PATCH] Update migrate_schema to use check_migrations (#2025) Update migrate schema showmigrations conditional --- roles/installer/tasks/migrate_schema.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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