From 7d3b249ae062725638fb8c34d5fb148bdbf9e287 Mon Sep 17 00:00:00 2001 From: akumari Date: Thu, 7 Nov 2024 19:40:57 +0530 Subject: [PATCH] update CONTENT_ORIGIN config --- playbooks/deploy.yaml | 1 + roles/pulp/templates/settings.py.j2 | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/playbooks/deploy.yaml b/playbooks/deploy.yaml index 6653d35..1450e2e 100644 --- a/playbooks/deploy.yaml +++ b/playbooks/deploy.yaml @@ -28,6 +28,7 @@ httpd_server_certificate: "{{ certificates_ca_directory }}/certs/{{ certificates_server }}.crt" httpd_server_key: "{{ certificates_ca_directory }}/private/{{ certificates_server }}.key" pulp_db_password: "CHANGEME" + content_origin: "https://{{ ansible_fqdn }}" postgresql_databases: - name: candlepin owner: candlepin diff --git a/roles/pulp/templates/settings.py.j2 b/roles/pulp/templates/settings.py.j2 index 6b1f4b0..4e02f30 100644 --- a/roles/pulp/templates/settings.py.j2 +++ b/roles/pulp/templates/settings.py.j2 @@ -1,4 +1,4 @@ -CONTENT_ORIGIN="http://{{ ansible_hostname }}:24816" +CONTENT_ORIGIN="http://{{ ansible_fqdn }}:24816" CACHE_ENABLED=True REDIS_HOST="localhost" REDIS_PORT=6379