Skip to content
Snippets Groups Projects
Commit 7f936a04 authored by Lars Beckers's avatar Lars Beckers
Browse files

zabbix-server: fix schema optimization

parent 6ad6bf5c
Branches
No related tags found
No related merge requests found
......@@ -98,7 +98,7 @@
- name: apply database schema optimization
shell: psql -h {{ zabbix_db_host }} -U {{ zabbix_db_user }} -w -d {{ zabbix_db_name }} -f /usr/share/doc/zabbix-server-pgsql/zabbix-partition.sql && touch /var/lib/zabbix/.db_schema_optimized
args:
creates: /var/lib/zabbix/.db_schema_created
creates: /var/lib/zabbix/.db_schema_optimized
become: yes
become_user: zabbix
notify:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment