58ce2b54ea
Implement an ansible role that adds Hyper-V as a compute node for OpenStack using Kolla. This will install and configure the Nova Compute service, the Hyper-V Neutron agent and FreeRDP-WebConnect. https://docs.openstack.org/ocata/config-reference/compute/hypervisor-hyper-v.html Change-Id: I601835b0769c5ff173a980a05a752391ae8cc82f Implements: blueprint hyperv-ansible-role Co-Authored-By: Alessandro Pilotti <apilotti@cloudbasesolutions.com>
29 lines
950 B
Django/Jinja
29 lines
950 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 = {{ admin_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_admin_port }}/v2.0
|
|
tenantname = service
|
|
username = {{ nova_keystone_user }}
|
|
password = {{ nova_keystone_password }}
|
|
|
|
[hyperv]
|
|
hostusername = {{ hyperv_username }}
|
|
hostpassword = {{ hyperv_password }}
|