-
Notifications
You must be signed in to change notification settings - Fork 656
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
MOLECULE_EPHEMERAL_DIRECTORY is a route inside /tmp directory #1506
Comments
You can set the value of scenario:
name: default
ephemeral_directory: /win-test-role/molecule/default/.molecule This changes the environment variable Does this help you along? If not please give some more information, describe what you want to accomplish with creating relative routes. |
Doesn't really describe the problem too well. Either way, you can do what @wilmardo suggested. Other than that, you're right you can't change it. |
To avoid hardcoded temporary directories which can create conflicts with concurrent use or with multi-user environments, we adopt the use of the newer tempfile.TemporaryDirectory. For old python versions we install the backport module which provides this functionality. Signed-off-by: Sorin Sbarnea <sorin.sbarnea@gmail.com> Fixes: ansible#1506
Avoid hardcoded temporary directories which can create conflicts with with multi-user environments. Signed-off-by: Sorin Sbarnea <sorin.sbarnea@gmail.com> Fixes: ansible#1506
Avoid hardcoded temporary directories which can create conflicts with with multi-user environments. Signed-off-by: Sorin Sbarnea <sorin.sbarnea@gmail.com> Fixes: ansible#1506
Avoid hardcoded temporary directories which can create conflicts with with multi-user environments. Signed-off-by: Sorin Sbarnea <ssbarnea@redhat.com> Fixes: ansible#1506
Avoid hardcoded temporary directories which can create conflicts with with multi-user environments. Signed-off-by: Sorin Sbarnea <ssbarnea@redhat.com> Fixes: ansible#1506
Avoid hardcoded temporary directories which can create conflicts with with multi-user environments. Signed-off-by: Sorin Sbarnea <ssbarnea@redhat.com> Fixes: ansible#1506
Avoid hardcoded temporary directories which can create conflicts with with multi-user environments. Signed-off-by: Sorin Sbarnea <ssbarnea@redhat.com> Fixes: ansible#1506
Avoid hardcoded temporary directories which can create conflicts with with multi-user environments. Signed-off-by: Sorin Sbarnea <ssbarnea@redhat.com> Fixes: ansible#1506
Avoid hardcoded temporary directories which can create conflicts with with multi-user environments. Signed-off-by: Sorin Sbarnea <ssbarnea@redhat.com> Fixes: #1506
Issue Type
Molecule and Ansible details
Molecule installation method (one of):
Ansible installation method (one of):
Desired Behavior
Please give some details of the feature being requested or what
should happen if providing a bug report.
Actual Behaviour (Bug report only)
Please give some details of what is actually happening.
Include a minimum complete verifiable example with
output of running
molecule --debug
.I cannot create relative routes for MOLECULE_EPHEMERAL_DIRECTORY because its is forced to be inside /tmp dir
The text was updated successfully, but these errors were encountered: