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

Pre-create pgdocker dir ahead of time with proper permissions #9152

Merged

Conversation

rooftopcellist
Copy link
Member

SUMMARY

Issue: #9140

The temporary container I added creates the .awx directory as root upon running because that is the default behavior when bind-mounting a directory to a container. This happened during the following task:

TASK [local_docker : Check for existing Postgres data (run from inside the container for access to file)]

To solve this, I added a task to pre-create the directory (if it didn't already exist) with permissions that will work. The pre-existing permissions of the file being bind-mounted will be observed by Docker.

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME
  • Installer
AWX VERSION
17.0.0

@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.

@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded (gate pipeline).

@softwarefactory-project-zuul softwarefactory-project-zuul bot merged commit 9f691a0 into ansible:devel Jan 25, 2021
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.

4 participants