diff --git a/roles/svc-db-postgres/tasks/main.yml b/roles/svc-db-postgres/tasks/main.yml index e2063477..4516cc33 100644 --- a/roles/svc-db-postgres/tasks/main.yml +++ b/roles/svc-db-postgres/tasks/main.yml @@ -1,8 +1,7 @@ -- block: - - include_tasks: 01_core.yml - vars: - # Force the flush of the pg handler on the first run - flush_handlers: true +- include_tasks: 01_core.yml + vars: + # Force the flush of the pg handler on the first run + flush_handlers: true when: run_once_svc_db_postgres is not defined - include_tasks: "{{ [ playbook_dir, 'tasks/utils/load_handlers.yml' ] | path_join }}"