summaryrefslogtreecommitdiffstats
path: root/roles/logrotate/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/logrotate/tasks/main.yml')
-rw-r--r--roles/logrotate/tasks/main.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/logrotate/tasks/main.yml b/roles/logrotate/tasks/main.yml
new file mode 100644
index 00000000..65204181
--- /dev/null
+++ b/roles/logrotate/tasks/main.yml
@@ -0,0 +1,6 @@
+---
+- name: "Ensure logrotate is installed"
+ become: true
+ ansible.builtin.package:
+ name: "logrotate"
+ state: "present"