Project

Profile

Help

Story #7545

closed

Pulp_installer : customize http port + number of workers

Added by swisscom over 3 years ago. Updated about 3 years ago.

Status:
CLOSED - WORKSFORME
Priority:
Normal
Assignee:
-
Category:
Installer - Moved to GitHub issues
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
Yes
Sprint Candidate:
No
Tags:
Easy Fix
Sprint:
Quarter:
Q2-2021

Description

Dear team, Two improvement requests for the Ansible installer :

  • For technical reasons I have to change the http port on Nginx. I see this parameter is not customizable (80 is hardcoded in the nginx.conf.j2 template). Currently I change it manually in nginx.conf after each pulp_installer run. Would it be possible to make the http port customizable in the playbook ?
  • Would it be possible to add a customizable variable to create more than 2 workers when running pulp_installer ?

Thanks a lot

Actions #1

Updated by mdepaulo@redhat.com over 3 years ago

  • Tracker changed from Issue to Story
  • % Done set to 0
  • Severity deleted (2. Medium)
  • Version deleted (3.3.1)
  • OS deleted (RHEL 7)
  • Triaged deleted (No)
  • Groomed changed from No to Yes
  • Quarter set to Q4-2020
  • Tags Easy Fix added
Actions #2

Updated by daviddavis about 3 years ago

  • Quarter changed from Q4-2020 to Q2-2021
Actions #3

Updated by fao89 about 3 years ago

About the workers you can use these variables:

pulp_workers: 4
pulp_api_workers: 4

About the port, I'll be working on that

Actions #4

Updated by fao89 about 3 years ago

  • Status changed from NEW to CLOSED - WORKSFORME

actually it was already implemented:

https://github.com/pulp/pulp_installer/blob/master/roles/pulp_webserver/defaults/main.yml#L16-L17

pulp_webserver_http_port: 80
pulp_webserver_https_port: 443

Also available in: Atom PDF