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