Task #4964
closedTask #4961: [Epic] Improve Integration and Testing with Nginx and Apache
Add variable to specify bind port for pulp-api and pulp-content-app
100%
Description
The user should be able to specify the bind string for both pulp-api and/or pulp-content-app.
Related issues
Updated by amacdona@redhat.com over 5 years ago
- Related to Issue #4946: pulp_content_host default value is set in the wrong ansible role added
Updated by amacdona@redhat.com over 5 years ago
+1. Currently, we have:
pulp role:
pulp_api_host: localhost
pulp_api_port: 24817
pulp-content role:
pulp_content_host: 'localhost:24816'
pulp_content_bind: '0.0.0.0:24816'
I'm setting this to be related to https://pulp.plan.io/issues/4946 which should be completed at the same time.
Updated by mdepaulo@redhat.com over 5 years ago
WRT the variables, they should be consistent across pulp-api & pulp-content.
Note that the pulp_api_host is used elsewhere in the ansible codebase, not just as the host to listen on. I think it gets advertised to clients.
So some refactoring should be done.
Updated by amacdona@redhat.com over 5 years ago
- Groomed changed from No to Yes
- Sprint Candidate changed from No to Yes
- Sprint set to Sprint 54
Updated by bmbouter over 5 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to bmbouter
Updated by bmbouter over 5 years ago
- Status changed from ASSIGNED to POST
PR available at: https://github.com/pulp/ansible-pulp/pull/123
Added by bmbouter over 5 years ago
Added by Brian Bouterse over 5 years ago
Revision 8eb135e6 | View on GitHub
Allow bind and nginx to be different
This introduces a pulp_api_bind variable in the 'pulp' playbook which the user can use to set the bind address (or multiple) of pulp-api. This is used by the pulp-api service template for the systemd service.
It moves the nginx and apache reverse proxy variables out of the 'pulp' playbook and into the 'pulp-webserver' playbook where they are used exclusively. The defaults are there also. It created 4 variables:
- pulp_content_host
- pulp_content_port
- pulp_api_host
- pulp_api_port
Updated by bmbouter over 5 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset ansible-pulp3|8eb135e627fb3be8c7bb3382305331000b83b569.
Updated by bmbouter about 5 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Updated by bmbouter over 4 years ago
- Category set to Installer - Moved to GitHub issues
- Tags deleted (
Pulp 3 installer)
Allow bind and nginx to be different
This introduces a pulp_api_bind variable in the 'pulp' playbook which the user can use to set the bind address (or multiple) of pulp-api. This is used by the pulp-api service template for the systemd service.
It moves the nginx and apache reverse proxy variables out of the 'pulp' playbook and into the 'pulp-webserver' playbook where they are used exclusively. The defaults are there also. It created 4 variables:
https://pulp.plan.io/issues/4964 closes #4964