Files
test/vars/CentOS-10-default.yml
T
2026-05-05 10:48:46 -05:00

26 lines
775 B
YAML

---
# vars file for ensure_log_rotation
package_list:
- name: 'logrotate'
state: 'present'
template_list:
- dest: '/etc/logrotate.conf'
force: 'yes'
group: 'root'
mode: '0644'
owner: 'root'
src: '{{ ansible_facts["distribution"] }}/{{ ansible_facts["distribution_major_version"] }}/etc/logrotate.conf'
- dest: '/etc/logrotate.d/btmp'
force: 'yes'
group: 'root'
mode: '0644'
owner: 'root'
src: '{{ ansible_facts["distribution"] }}/{{ ansible_facts["distribution_major_version"] }}/etc/logrotate.d/btmp'
- dest: '/etc/logrotate.d/wtmp'
force: 'yes'
group: 'root'
mode: '0644'
owner: 'root'
src: '{{ ansible_facts["distribution"] }}/{{ ansible_facts["distribution_major_version"] }}/etc/logrotate.d/wtmp'