automation/deployer/roles/host/tasks/logrotate.yml

12 lines
No EOL
234 B
YAML

- name: "Copy logrotate.conf"
copy:
src: "logrotate.conf"
dest: "/etc/"
become: yes
tags: logrotate
- name: "Copy logrotate.d"
copy:
src: "logrotate.d/"
dest: "/etc/logrotate.d/"
tags: logrotate
become: yes