create tasks for cron extension
This commit is contained in:
parent
2886fc012f
commit
bcc449f5f3
@ -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:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user