From 903fefb06a7ea8ae8c1110edcdaf93b46e0aa21f Mon Sep 17 00:00:00 2001 From: Rene Mewissen Date: Tue, 22 Nov 2022 16:34:55 +0100 Subject: [PATCH] added role for backup --- hosts | 5 ++++- local.yml | 6 ++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/hosts b/hosts index 4ad6f7d..6044ca1 100644 --- a/hosts +++ b/hosts @@ -10,11 +10,11 @@ netbox.universe.local samba-ad-dc.universe.local librenms.universe.local grafana.universe.local -backup.universe.local haproxy01.universe.local haproxy02.universe.local [server:children] +backup cluster database dhcpserver @@ -29,6 +29,9 @@ printspooler proxyserver webserver +[backup] +backup.universe.local + [database] coruscant.universe.local mariadb01.universe.local diff --git a/local.yml b/local.yml index 811735f..3512c9b 100644 --- a/local.yml +++ b/local.yml @@ -104,6 +104,12 @@ roles: - jitsimeet +- hosts: backup + tags: server,backup + become: true + roles: + - backup + # - hosts: proxyserver # tags: server,proxyserver # become: true