Update streaming keys hostnames

This commit is contained in:
L3D 2024-02-26 16:08:14 +01:00
parent 2d2a16eb06
commit 62eb4ce337
Signed by: L3D
GPG Key ID: CD08445BFF4313D1
3 changed files with 3 additions and 3 deletions

@ -1 +1 @@
Subproject commit e0dbe9c98dfa203043d0edebb9765d0f0fd60fd9 Subproject commit 787fa4621763879dae26c57aaf0028941dcaaefc

View File

@ -1,4 +1,4 @@
[obs] [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-hall2 ansible_host="172.30.0.6"
obs-hall3 ansible_host="172.30.0.3" obs-hall3 ansible_host="172.30.0.3"

View File

@ -2,7 +2,7 @@
Streaming Keys: Streaming Keys:
{% for host in groups['obs'] %} {% 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') }} {{ lookup('community.general.passwordstore', 'chvoc/ansible/windows/' + hostvars[host]['inventory_hostname'] + '/portier/streamkey') }}
{% endfor %} {% endfor %}