create tasks for cron extension

This commit is contained in:
Tobias Lehmann 2024-04-16 14:12:32 +02:00
parent 2886fc012f
commit bcc449f5f3

View File

@ -14,7 +14,7 @@
- timescaledb_install
systemd:
name: postgresql
state: stop
state: stopped
- name: "Add pg_cron to shared_preload_libraries"
tags:
@ -41,13 +41,13 @@
dest: /etc/postgresql/{{ postgresql_version }}/main/postgresql.conf
line: "cron.timezone = 'Europe/Berlin'"
- name: "Restart postgresql service"
- name: "Start postgresql service"
tags:
- install
- timescaledb_install
systemd:
name: postgresql
state: restarted
state: started
- name: "Configure pg_cron extension"
tags: