From 62eb4ce33703b08d4bccd04e6ef904f1f16bfe4d Mon Sep 17 00:00:00 2001 From: L3D Date: Mon, 26 Feb 2024 16:08:14 +0100 Subject: [PATCH] Update streaming keys hostnames --- collections/ansible_collections/community/general | 2 +- hosts.ini | 2 +- roles/setup_secrets/templates/secrets.txt.j2 | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/collections/ansible_collections/community/general b/collections/ansible_collections/community/general index e0dbe9c..787fa46 160000 --- a/collections/ansible_collections/community/general +++ b/collections/ansible_collections/community/general @@ -1 +1 @@ -Subproject commit e0dbe9c98dfa203043d0edebb9765d0f0fd60fd9 +Subproject commit 787fa4621763879dae26c57aaf0028941dcaaefc diff --git a/hosts.ini b/hosts.ini index 272a5b5..4928874 100644 --- a/hosts.ini +++ b/hosts.ini @@ -1,4 +1,4 @@ [obs] -# obs-hall1 ansible_host="172.30.0.5" +obs-hall1 ansible_host="172.30.0.5" obs-hall2 ansible_host="172.30.0.6" obs-hall3 ansible_host="172.30.0.3" diff --git a/roles/setup_secrets/templates/secrets.txt.j2 b/roles/setup_secrets/templates/secrets.txt.j2 index 7e755bc..06f6d7e 100644 --- a/roles/setup_secrets/templates/secrets.txt.j2 +++ b/roles/setup_secrets/templates/secrets.txt.j2 @@ -2,7 +2,7 @@ Streaming Keys: {% for host in groups['obs'] %} -+ {{ hostvars[host]['ansible_host'] }}: ++ {{ hostvars[host]['ansible_fqdn'] }}: {{ lookup('community.general.passwordstore', 'chvoc/ansible/windows/' + hostvars[host]['inventory_hostname'] + '/portier/streamkey') }} {% endfor %}