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 %}