Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(hostgroup): Set owner and group for cloned files to revproxy on … #207

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

smirta
Copy link
Member

@smirta smirta commented Jan 8, 2025

…vm-2001 and vm-2002

@smirta smirta requested a review from hairmare January 8, 2025 11:36
@hairmare
Copy link
Member

hairmare commented Jan 8, 2025

shouldn't this be done when creating the user?

@smirta
Copy link
Member Author

smirta commented Jan 8, 2025

Because the git_clone Ansible role is run as root, user and group for /home/revproxy/httpd are set to this user. This role then resets it to revoroxy:revproxy.

Or isn't that the question?

@hairmare
Copy link
Member

hairmare commented Jan 9, 2025

It looks like we could also do this when we copy the files: radiorabe/ansible-collection-common#62

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