From ef15cb3c6cc43f9ebba19b7b148f617512703ca8 Mon Sep 17 00:00:00 2001 From: Alexander Dietrich Date: Mon, 30 Apr 2018 22:49:56 +0200 Subject: [PATCH] Add srv02, change autoupdate settings --- group_vars/all | 3 +-- host_vars/srv02 | 4 ++++ production | 2 ++ site.yml | 4 ++-- 4 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 host_vars/srv02 diff --git a/group_vars/all b/group_vars/all index 48930fd..495d481 100644 --- a/group_vars/all +++ b/group_vars/all @@ -1,2 +1 @@ ---- -basics_autoupdate_reboot: "false" +basics_autoupdate_mail: backend@hamburg.freifunk.net diff --git a/host_vars/srv02 b/host_vars/srv02 new file mode 100644 index 0000000..37a017f --- /dev/null +++ b/host_vars/srv02 @@ -0,0 +1,4 @@ +basics_autoupdate_origins: + - o=Node Source,n=${distro_codename} + - o=Prosody,n=${distro_codename} + - o=TorProject,n=${distro_codename} diff --git a/production b/production index fb07d30..662ad8d 100644 --- a/production +++ b/production @@ -1,5 +1,6 @@ [ffhh] srv01 ansible_host=srv01.hamburg.freifunk.net +srv02 ansible_host=srv02.hamburg.freifunk.net srv03 ansible_host=srv03.hamburg.freifunk.net srv04 ansible_host=srv04.hamburg.freifunk.net @@ -12,5 +13,6 @@ srv03 [vms] srv01 +srv02 srv03 srv04 diff --git a/site.yml b/site.yml index 019da3e..3daba39 100644 --- a/site.yml +++ b/site.yml @@ -1,3 +1,3 @@ --- -- include: basics.yml -- include: services.yml +- import_playbook: basics.yml +- import_playbook: services.yml