touch log file if not existent

This commit is contained in:
Philip (a-0) 2022-07-28 22:06:19 +02:00
parent 82bd8874d2
commit 2a0b1c518d

View file

@ -29,6 +29,13 @@
state: restarted
daemon_reload: yes
- name: Ensure log file exists
file:
path: "{{ tor_logfile_path }}"
state: touch
owner: debian-tor
mode: 0644
- name: (Re)start and enable tor service
service:
name: tor