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

Ansible is being run is a world writing directory #7

Open
JakeCooper opened this issue Jul 11, 2023 · 1 comment
Open

Ansible is being run is a world writing directory #7

JakeCooper opened this issue Jul 11, 2023 · 1 comment

Comments

@JakeCooper
Copy link

JakeCooper commented Jul 11, 2023

When running this (on space lift), it seems to be under /mnt/

Ansible doesn't permit 777 directories from holding the Ansible.cfg file, as changing it would cause a lot of damage

As a result, the inventory file isn't parsed correctly :(

CleanShot 2023-07-11 at 10 13 25@2x

Suggestion: Tighter permissions on the directory space lift pulls down from the code?

@JakeCooper
Copy link
Author

This can be mitigated by setting the ANSIBLE_CONFIG envier to wherever it might be pulled in

Would be good if it could just detect the config at the root env, or set the ANSIBLE_CONFIG variable to the Stacks default directory

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

No branches or pull requests

1 participant