Skip to content

Commit

Permalink
Allow specifying host to ip mapping for metal-bmc
Browse files Browse the repository at this point in the history
  • Loading branch information
robertvolkmann committed Dec 6, 2023
1 parent fccc42c commit 68fb340
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions partition/roles/metal-bmc/defaults/main/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions partition/roles/metal-bmc/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand Down

0 comments on commit 68fb340

Please sign in to comment.