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

group_vars synced permissions and ownerships #35

Open
martbhell opened this issue Apr 7, 2017 · 0 comments
Open

group_vars synced permissions and ownerships #35

martbhell opened this issue Apr 7, 2017 · 0 comments
Labels

Comments

@martbhell
Copy link
Contributor

Ville Rintala (LUT): permissions from management host affect the permissions and then ansible pull script fails

If one has ownerships and permissions like this on the management server's group_vars directory:
drwxrwx--- 10 secretowner secretgroupowner

then when the files gets rsynced by this role they get:

"drwxrwx--- 10 root root"

which the web server can't read and then ansible-pull fails

  • If we later change permissions to 775 or 644 on files then ansible will "change" every time. Can one set permissions on the ansible sync task?

There are secrets in this folder so it makes sense to restrict access.

@martbhell martbhell added the bug label Apr 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant