Actions
Issue #5466
closedNo defaults provided for ansible_api_hostname and ansible_content_hostname
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Platform Release:
OS:
Triaged:
No
Groomed:
Yes
Sprint Candidate:
No
Tags:
Sprint:
Sprint 59
Quarter:
Description
Problem¶
A user installs pulp_ansible with the Ansible installer, when using the Galaxy APIs they will emit a 500 traceback due to defaults not being set for ansible_api_hostname and ansible_content_hostname.
Solution¶
Add these settings to pulp_ansible.app.settings here
To work with the default of the installer these settings should be set as follows:
ANSIBLE_API_HOSTNAME = "http://" + socket.getfqdn() + ""
ANSIBLE_CONTENT_HOSTNAME = "http://" + socket.getfqdn() + "/pulp/content".
Testing¶
This needs to be tested against the installer to make sure it works out-of-the box.
Docs¶
The docs here need to be updated to indicate their new defualts.
Also the quickstart guide can have these settings removed here
Actions
Add defaults for settings
The
ANSIBLE_API_HOSTNAME
andANSIBLE_CONTENT_HOSTNAME
settings have defaults that use port 80, http, and the FQDN of the server.This is tested against the installer so that it should work with the Nginx config out-of-the-box.
https://pulp.plan.io/issues/5466 closes #5466