Skip to content

Replace ansible_user_dir to /home/zuul when it is pointing to Zuul HOME#3645

Merged
danpawlik merged 1 commit into
openstack-k8s-operators:mainfrom
danpawlik:change-home-dir
Feb 2, 2026
Merged

Replace ansible_user_dir to /home/zuul when it is pointing to Zuul HOME#3645
danpawlik merged 1 commit into
openstack-k8s-operators:mainfrom
danpawlik:change-home-dir

Conversation

@danpawlik

Copy link
Copy Markdown
Contributor

In some case, when we read variables from group_vars, HOME dir can be pointing to /var/lib/zuul, when it is not nested ansible execution. In that case, to avoid error that we might be pointing to the Zuul dir which is restricted or when the delegation would be use, safe way would be to replace Zuul HOME dir to /home/zuul, which is used in mostly.

In some case, when we read variables from group_vars,
HOME dir can be pointing to /var/lib/zuul, when it is not nested
ansible execution. In that case, to avoid error that we might be
pointing to the Zuul dir which is restricted or when the delegation
would be use, safe way would be to replace Zuul HOME dir to
/home/zuul, which is used in mostly.

Signed-off-by: Daniel Pawlik <dpawlik@redhat.com>
@danpawlik danpawlik requested review from a team and amartyasinha January 30, 2026 13:47
@openshift-ci

openshift-ci Bot commented Jan 30, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign brjackma for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@danpawlik

Copy link
Copy Markdown
Contributor Author

Let's merge it on Monday.

@danpawlik danpawlik requested a review from a team February 2, 2026 07:26
@danpawlik danpawlik merged commit 751bae4 into openstack-k8s-operators:main Feb 2, 2026
6 checks passed
@danpawlik danpawlik deleted the change-home-dir branch February 2, 2026 07:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants