diff --git a/roles/installer/tasks/database_configuration.yml b/roles/installer/tasks/database_configuration.yml index 8165a1fb8..424580688 100644 --- a/roles/installer/tasks/database_configuration.yml +++ b/roles/installer/tasks/database_configuration.yml @@ -129,7 +129,7 @@ set_fact: sorted_old_postgres_pods: "{{ filtered_old_postgres_pods | sort(attribute='metadata.name') | - reverse }}" + reverse | list }}" when: filtered_old_postgres_pods | length