Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/user/parameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ There are multiple use cases from the users perspective that dictate what parame

| Parameter | Description | foreman-installer Parameters |
| --------- | ----------- | ---------------------------- |
| `--foreman-proxy-http` | Enable plain text HTTP on Foreman Proxy | `--foreman-proxy-http` |
| `--bmc-ipmi-implementation` | IPMI implementation to use for BMC | `--foreman-proxy-bmc-default-provider` |
| `--bmc-redfish-verify-ssl` | Verify SSL certificates for Redfish BMC connections | `--foreman-proxy-bmc-redfish-verify-ssl` |

Expand Down Expand Up @@ -162,7 +163,6 @@ There are multiple use cases from the users perspective that dictate what parame
| `--foreman-proxy-plugin-openscap-ansible-module` | | foreman_proxy::plugin::openscap | ansible_module |
| `--foreman-proxy-plugin-openscap-puppet-module` | | foreman_proxy::plugin::openscap | puppet_module |
| `--foreman-proxy-content-enable-ostree` | | | |
| `--foreman-proxy-http` | | | |
| `--foreman-proxy-log` | | | |
| `--foreman-proxy-log-level` | | | |
| `--foreman-proxy-plugin-ansible-working-dir` | | | |
Expand Down
4 changes: 4 additions & 0 deletions src/playbooks/deploy/metadata.obsah.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ variables:
type: AbsolutePath
parameter: --certificate-server-ca-certificate
persist: false
foreman_proxy_http:
parameter: --foreman-proxy-http
help: Enable plain text HTTP on Foreman Proxy
type: Boolean
foreman_proxy_bmc_ipmi_implementation:
parameter: --bmc-ipmi-implementation
help: IPMI implementation to use for BMC.
Expand Down
2 changes: 2 additions & 0 deletions src/roles/foreman_proxy/defaults/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ foreman_proxy_container_tag: "nightly"
foreman_proxy_registry_auth_file: /etc/foreman/registry-auth.json

foreman_proxy_name: "{{ ansible_facts['fqdn'] }}"
foreman_proxy_http: false
foreman_proxy_http_port: 8000
foreman_proxy_https_port: 8443
foreman_proxy_url: "https://{{ foreman_proxy_name }}:{{ foreman_proxy_https_port }}"

Expand Down
3 changes: 3 additions & 0 deletions src/roles/foreman_proxy/templates/settings.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
:trusted_hosts: {{ foreman_proxy_trusted_hosts }}

:https_port: {{ foreman_proxy_https_port }}
{% if foreman_proxy_http | bool %}
:http_port: {{ foreman_proxy_http_port }}
{% endif %}
:ssl_ca_file: /etc/foreman-proxy/ssl_ca.pem
:ssl_certificate: /etc/foreman-proxy/ssl_cert.pem
:ssl_private_key: /etc/foreman-proxy/ssl_key.pem
Expand Down
Loading