From 2c9b89a74d78e89dc7fdb226a12b3439a77982fc Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO <ynerant@crans.org> Date: Mon, 22 Feb 2021 14:37:54 +0100 Subject: [PATCH] [thelounge] Rename irc to thelounge Signed-off-by: Yohann D'ANELLO <ynerant@crans.org> --- group_vars/{irc.yml => thelounge.yml} | 0 hosts | 5 ++++- plays/irc.yml | 10 +++++++--- 3 files changed, 11 insertions(+), 4 deletions(-) rename group_vars/{irc.yml => thelounge.yml} (100%) diff --git a/group_vars/irc.yml b/group_vars/thelounge.yml similarity index 100% rename from group_vars/irc.yml rename to group_vars/thelounge.yml diff --git a/hosts b/hosts index d7bde7ff..c1246405 100644 --- a/hosts +++ b/hosts @@ -64,7 +64,6 @@ horde.adm.crans.org [irc] irc.adm.crans.org -zamok.adm.crans.org [keepalived:children] routeurs_vm @@ -126,6 +125,10 @@ routeur-daniel.adm.crans.org routeur-jack.adm.crans.org routeur-sam.adm.crans.org +[thelounge] +irc.adm.crans.org +zamok.adm.crans.org + [virtu] daniel.adm.crans.org jack.adm.crans.org diff --git a/plays/irc.yml b/plays/irc.yml index ab253706..348f9d26 100755 --- a/plays/irc.yml +++ b/plays/irc.yml @@ -1,11 +1,15 @@ #!/usr/bin/env ansible-playbook --- -- hosts: irc +- hosts: thelounge + vars: + thelounge: '{{ glob_thelounge | default({}) | combine(loc_thelounge | default({})) }}' + roles: + - thelounge + +- hosts: thelounge,!adh_server vars: certbot: '{{ loc_certbot | default(glob_certbot | default([])) }}' nginx: '{{ glob_nginx | default({}) | combine(loc_nginx | default({})) }}' - thelounge: '{{ glob_thelounge | default({}) | combine(loc_thelounge | default({})) }}' roles: - certbot - nginx - - thelounge