Fix ansible logrotate perms

This commit is contained in:
Jade Ellis 2024-12-07 23:48:15 +00:00
parent 264c8fc68e
commit 985d5f57fe
No known key found for this signature in database
GPG key ID: 8705A2A3EBF77BD2

View file

@ -40,9 +40,9 @@
replace: path={{item.path}} regexp="\r"
with_items: "{{ output.files }}"
- name: fix logrotate permissions
file: path={{item.path}} mode=644 user=root group=root
file: path={{item.path}} mode=644 owner=root group=root
with_items: "{{ output.files }}"
become_user: root
become: true
- name: Copy traefik config
ansible.posix.synchronize:
src: ../traefik/