diff --git a/defaults/main.yml b/defaults/main.yml index 71d5816a..664ff833 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -282,6 +282,10 @@ nova_libvirt_live_migration_inbound_addr: '{{ (nova_management_address == "local # Set the console type. Presently the only options are ["spice", "novnc", "serialconsole", "disabled"]. nova_console_type: "{{ (ansible_facts['architecture'] == 'aarch64') | ternary('serialconsole', 'novnc') }}" +## Nova ironic console +# Set the console type. Presently the only options are ["serialconsole", "disabled"]. +nova_ironic_console_type: "disabled" + # Nova console ssl info, presently only used by novnc console type nova_console_ssl_dir: "/etc/nova/ssl" nova_console_ssl_cert: "{{ nova_console_ssl_dir }}/nova-console.pem" @@ -484,6 +488,13 @@ nova_services: condition: "{{ nova_console_type == 'serialconsole' }}" start_order: 5 execstarts: "{{ nova_bin }}/nova-serialproxy" + nova_ironic_sericalconsole-proxy: + group: ironic_console + service_name: nova-serialproxy + init_config_overrides: "{{ nova_serialproxy_init_overrides }}" + condition: "{{ nova_ironic_console_type == 'serialconsole' }}" + start_order: 5 + execstarts: "{{ nova_bin }}/nova-serialproxy" nova_novnc_pip_packages: - websockify diff --git a/releasenotes/notes/nova-ironic-console-type-378d126976a5d083.yaml b/releasenotes/notes/nova-ironic-console-type-378d126976a5d083.yaml new file mode 100644 index 00000000..e27a30bc --- /dev/null +++ b/releasenotes/notes/nova-ironic-console-type-378d126976a5d083.yaml @@ -0,0 +1,6 @@ +--- +features: + - | + A new variable nova_ironic_console_type is added to enable the deployment + of one of the nova console proxies in the ironic_console ansible group. + The only supported setting at this time is `disabled` or `serialconsole`.