Skip to content

Add api_root option to all glue modules - #260

Merged
mdellweg merged 1 commit into
pulp:developfrom
i-am-paradox:api_root
Oct 5, 2026
Merged

mdellweg merged 1 commit into
pulp:developfrom
i-am-paradox:api_root

Conversation

@i-am-paradox

Copy link
Copy Markdown
Contributor

PulpAnsibleModule hardcoded the api_root to "/pulp/" when constructing the PulpContext, so servers exposing the API under a different path could not be managed with squeezer.

This adds an api_root option to all glue modules. It defaults to "/pulp/" and falls back to the environment variable SQUEEZER_API_ROOT. Following the convention in the pulp-cli configuration, the value must begin and end with "/". The default keeps the previous behavior, so existing playbooks are unaffected.

@mdellweg
mdellweg merged commit 850441f into pulp:develop Oct 5, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants