diff --git a/partition/roles/metal-bmc/defaults/main/main.yaml b/partition/roles/metal-bmc/defaults/main/main.yaml index 13606d6f..65d678a8 100755 --- a/partition/roles/metal-bmc/defaults/main/main.yaml +++ b/partition/roles/metal-bmc/defaults/main/main.yaml @@ -6,6 +6,8 @@ metal_bmc_allowed_cidrs: metal_bmc_bmc_superuser: metal_bmc_bmc_superuser_pwd: +metal_bmc_host_to_ip_mapping: [] + metal_bmc_nsq_log_level: info metal_bmc_nsq_tls_enabled: true metal_bmc_nsq_cert_dir: /certs/nsq diff --git a/partition/roles/metal-bmc/tasks/main.yaml b/partition/roles/metal-bmc/tasks/main.yaml index e32da2a6..8832ce22 100755 --- a/partition/roles/metal-bmc/tasks/main.yaml +++ b/partition/roles/metal-bmc/tasks/main.yaml @@ -78,6 +78,7 @@ systemd_external_config_changed: "{{ nsq_certs is changed }}" systemd_docker_image_name: "{{ metal_bmc_image_name }}" systemd_docker_image_tag: "{{ metal_bmc_image_tag }}" + systemd_docker_host_to_ip_mapping: "{{ metal_bmc_host_to_ip_mapping }}" systemd_docker_ports: - host_port: "{{ metal_bmc_console_port }}" target_port: "{{ metal_bmc_console_port }}"