From 18c52be28a8d7aa3c4eddc868984fd56b9abe220 Mon Sep 17 00:00:00 2001 From: Tobias Lehmann Date: Tue, 16 Apr 2024 14:20:29 +0200 Subject: [PATCH] create tasks for cron extension --- roles/common/tasks/postgres_cron.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/common/tasks/postgres_cron.yml b/roles/common/tasks/postgres_cron.yml index 1d5a4a6..38fab40 100644 --- a/roles/common/tasks/postgres_cron.yml +++ b/roles/common/tasks/postgres_cron.yml @@ -55,8 +55,8 @@ - timescaledb_install postgresql_query: db: "{{ timescaledb_database_name }}" - login_user: "{{ timescaledb_database_user }}" - login_password: "{{ timescaledb_database_password }}" + login_user: "{{ postgres }}" + login_password: "{{ postgresql_admin_password }}" login_host: "{{ lxc_ip }}" query: - CREATE EXTENSION pg_cron;