From d9f18963fc89b0e121c7d4fd36c8f628ca9c6778 Mon Sep 17 00:00:00 2001 From: Evgeni Golov Date: Mon, 18 Nov 2024 14:31:43 +0100 Subject: [PATCH] correctly set rhsm url to $FQDN/rhsm --- roles/foreman_proxy/defaults/main.yaml | 1 + roles/foreman_proxy/templates/pulpcore.yaml.j2 | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/foreman_proxy/defaults/main.yaml b/roles/foreman_proxy/defaults/main.yaml index 2a23d86..4254429 100644 --- a/roles/foreman_proxy/defaults/main.yaml +++ b/roles/foreman_proxy/defaults/main.yaml @@ -3,3 +3,4 @@ foreman_proxy_container_image: "quay.io/evgeni/foreman-proxy-rpm" foreman_proxy_container_tag: "nightly" foreman_proxy_pulp_url: "https://{{ ansible_fqdn }}" foreman_proxy_pulp_content_url: "{{ foreman_proxy_pulp_url }}/pulp/content/" +foreman_proxy_pulp_rhsm_url: "https://{{ ansible_fqdn }}/rhsm" diff --git a/roles/foreman_proxy/templates/pulpcore.yaml.j2 b/roles/foreman_proxy/templates/pulpcore.yaml.j2 index 9514767..6bb7fb7 100644 --- a/roles/foreman_proxy/templates/pulpcore.yaml.j2 +++ b/roles/foreman_proxy/templates/pulpcore.yaml.j2 @@ -4,4 +4,4 @@ :content_app_url: {{ foreman_proxy_pulp_content_url }} :mirror: false :client_authentication: ["client_certificate"] -#:rhsm_url: https://localhost/rhsm +:rhsm_url: {{ foreman_proxy_pulp_rhsm_url }}