From f7bfb73d46871ca19252b902cf441539b436d222 Mon Sep 17 00:00:00 2001 From: staffadmin Date: Sat, 23 Sep 2023 18:50:51 +0200 Subject: [PATCH] add roles --- all.yml | 4 +--- host_vars/scaleway_fr.yml | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/all.yml b/all.yml index 58d39a0..1c25ca6 100644 --- a/all.yml +++ b/all.yml @@ -31,9 +31,7 @@ - { role: willshersystems.sshd, tags: ssh } - { role: claranet.apt, tags: apt } - { role: robertdebock.fail2ban, tags: ban } - - { role: nickhammond.logrotate, tags: log, - vars: { "{{ logrotate_files }}" } - } + - { role: nickhammond.logrotate, tags: log } tasks: diff --git a/host_vars/scaleway_fr.yml b/host_vars/scaleway_fr.yml index befda8e..5f9f57e 100644 --- a/host_vars/scaleway_fr.yml +++ b/host_vars/scaleway_fr.yml @@ -73,7 +73,7 @@ alerts_cron: cron_file: alerts -logrotate_files: +logrotate_scripts: - name: backup paths: - /opt/dockerapps/backup/*.zip