Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
DavSanchez authored Jun 6, 2024
1 parent 61f2039 commit e2e5cb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion caos.ansible_roles/roles/logrotate/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
file:
path: "/var/lib/logrotate/status"
mode: "640"
when: st.exists
when: st.stat.exists

- name: force logrotate
shell: "[ -f {{ item }} ] && logrotate -f {{ item }}"
Expand Down

0 comments on commit e2e5cb6

Please sign in to comment.