-
Notifications
You must be signed in to change notification settings - Fork 1
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
Create uploads folder automatically #6
Comments
What variable is that, |
The values mentioned for the variables If these folders or paths do not exist, the service won't start. Also, the role does not fail when this happens. It would be nice if the role creates these folders when they do not exist or at least add a variable-based task; if that variable ( |
Ok, I get it now. The thing is that the role is unaware of how will you use it. It does not know that you have defined two variables If indeed, rustus tries to put uploads in its working directory, I think the closest equivalent of what you want would be to have the role ensure Of course, the role could be tailored to our specific use case and an Regardless of what we do, we can find out how to make the role fail appropriately when Do you want the role to ensure |
Yes, I was talking more about the It would be nice to have a variable asking whether the |
That is a perfect solution :) I'll do that. |
Cool, thank you! |
In the end I have decided to always create the working directory automatically (no extra variable). |
Create working directories for systemd units automatically if they do not exist. Existing directories will keep their permissions intact. Includes test coverage. Closes #6.
@sanjaysrikakulam wrote:
The text was updated successfully, but these errors were encountered: