Some checks failed
Ansible Minecraft CI/CD Pipeline / Ansible Lint Check (push) Successful in 58s
Ansible Minecraft CI/CD Pipeline / Project Structure Validation (push) Failing after 3s
Ansible Minecraft CI/CD Pipeline / Security Scan (push) Successful in 4s
Ansible Minecraft CI/CD Pipeline / Deploy to Staging (push) Has been skipped
Ansible Minecraft CI/CD Pipeline / Deploy to Production (push) Has been skipped
Ansible Minecraft CI/CD Pipeline / Backup System Check (push) Has been skipped
9 lines
227 B
YAML
9 lines
227 B
YAML
---
|
|
- name: Configure log rotation for Minecraft
|
|
ansible.builtin.template:
|
|
src: logrotate-minecraft.j2
|
|
dest: /etc/logrotate.d/minecraft
|
|
owner: root
|
|
group: root
|
|
mode: '0644'
|
|
notify: "restart log rotation" |