influxdb: Fix logrotate errors
This commit is contained in:
parent
4db2622082
commit
567d14c781
1 changed files with 9 additions and 0 deletions
|
@ -13,6 +13,15 @@
|
||||||
name: influxdb2
|
name: influxdb2
|
||||||
state: present
|
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
|
- name: create data directory
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: /export/influxdb
|
path: /export/influxdb
|
||||||
|
|
Loading…
Add table
Reference in a new issue