2e4e60503a
We're duplicating code to build the keystone URLs in nearly every config, where we've already done it in group_vars. Replace the redundancy with a variable that does the same thing. Change-Id: I207d77870e2535c1cdcbc5eaf704f0448ac85a7a
29 lines
900 B
Django/Jinja
29 lines
900 B
Django/Jinja
[global]
|
|
debug = {{ openstack_logging_debug }}
|
|
redirect = false
|
|
port = {{ rdp_port }}
|
|
bindaddr = {% for host in groups['hyperv'] %}{% for ip in hostvars[inventory_hostname]['ansible_ip_addresses'] %}{% if host == ip %}{{ ip }}{% endif %}{% endfor %}{% endfor %}
|
|
|
|
|
|
[http]
|
|
documentroot = C:\Program Files\Cloudbase Solutions\FreeRDP-WebConnect\WebRoot\
|
|
|
|
[ssl]
|
|
port=4430
|
|
bindaddr = {% for host in groups['hyperv'] %}{% for ip in hostvars[inventory_hostname]['ansible_ip_addresses'] %}{% if host == ip %}{{ ip }}{% endif %}{% endfor %}{% endfor %}
|
|
|
|
certfile = C:\Program Files\Cloudbase Solutions\FreeRDP-WebConnect\etc\server.cer
|
|
|
|
[rdpoverride]
|
|
nofullwindowdrag = true
|
|
|
|
[openstack]
|
|
authurl = {{ keystone_admin_url }}/v2.0
|
|
tenantname = service
|
|
username = {{ nova_keystone_user }}
|
|
password = {{ nova_keystone_password }}
|
|
|
|
[hyperv]
|
|
hostusername = {{ hyperv_username }}
|
|
hostpassword = {{ hyperv_password }}
|