Skip to content

Commit f157107

Browse files
author
Arvind Jangir
committed
Add BMC feature to foreman-proxy
1 parent 0541cc9 commit f157107

4 files changed

Lines changed: 16 additions & 0 deletions

File tree

src/features.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,7 @@ dynflow:
3333
internal: true
3434
foreman_proxy:
3535
plugin_name: dynflow
36+
bmc:
37+
description: Power management for bare metal hosts (IPMI, Redfish, SSH)
38+
foreman_proxy:
39+
plugin_name: bmc

src/playbooks/deploy/metadata.obsah.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@ variables:
2929
action: append_unique
3030
type: FQDN
3131
parameter: --certificate-cname
32+
foreman_proxy_bmc_default_provider:
33+
help: Default BMC provider.
34+
choices:
35+
- freeipmi
36+
- ipmitool
37+
- redfish
3238

3339
include:
3440
- _certificate_source

src/roles/foreman_proxy/defaults/main.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,6 @@ foreman_proxy_available_features: "{{ [] | available_foreman_proxy_plugins }}"
1919
foreman_proxy_disabled_features: "{{ foreman_proxy_available_features | difference(foreman_proxy_features) }}"
2020

2121
foreman_proxy_foreman_server_url: "https://{{ ansible_facts['fqdn'] }}"
22+
23+
# BMC settings
24+
foreman_proxy_bmc_default_provider: ipmitool
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
:enabled: {{ feature_enabled }}
3+
:bmc_default_provider: {{ foreman_proxy_bmc_default_provider }}

0 commit comments

Comments
 (0)