From 2d82a1a77fe46d6abd29ff7eb01b6b9413bf60f6 Mon Sep 17 00:00:00 2001 From: "Kevin Veen-Birkenbach [aka. Frantz]" Date: Tue, 29 Mar 2022 10:49:28 +0200 Subject: [PATCH] Added native-backups-cleanup to roles --- playbook.yml | 5 ----- roles/native-primary-backup/meta/main.yml | 1 + roles/native-pull-primary-backups/meta/main.yml | 1 + 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/playbook.yml b/playbook.yml index 278cece6..3b69eea0 100644 --- a/playbook.yml +++ b/playbook.yml @@ -126,8 +126,3 @@ become: true roles: - role: native-pull-primary-backups -- name: setup backups cleanup - hosts: backups_cleanup - become: true - roles: - - role: native-backups-cleanup diff --git a/roles/native-primary-backup/meta/main.yml b/roles/native-primary-backup/meta/main.yml index 39254757..8ac518b9 100644 --- a/roles/native-primary-backup/meta/main.yml +++ b/roles/native-primary-backup/meta/main.yml @@ -1,2 +1,3 @@ dependencies: - native-user-backup +- native-backups-cleanup diff --git a/roles/native-pull-primary-backups/meta/main.yml b/roles/native-pull-primary-backups/meta/main.yml index c64fb15b..ebe7e3cf 100644 --- a/roles/native-pull-primary-backups/meta/main.yml +++ b/roles/native-pull-primary-backups/meta/main.yml @@ -1,3 +1,4 @@ dependencies: - native-git - native-systemd-email + - native-backups-cleanup