influxdb: Fix logrotate errors

This commit is contained in:
Timo Makinen 2022-07-13 20:25:06 +00:00
parent 4db2622082
commit 567d14c781

View file

@ -13,6 +13,15 @@
name: influxdb2
state: present
# https://github.com/influxdata/influxdb/issues/22435
- name: fix logrotate errors
ansible.builtin.file:
path: /etc/logrotate.d/influxdb
state: file
mode: 0644
owner: root
group: "{{ ansible_wheel }}"
- name: create data directory
ansible.builtin.file:
path: /export/influxdb