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

Change current directory to scenario before running playbooks #3966

Merged
merged 7 commits into from
Aug 3, 2023

Conversation

ssbarnea
Copy link
Member

From now on, instead of using the current working directory when
running as scenario, molecule will chdir to scenario folder.

This change will enable people to use scenario specific ansible.cfg
files. Follow-up change will enable running molecule scenarios
directly from within them. When user is inside a scenario, molecule
will recognize it and no longer require the --scenario argument.

ssbarnea and others added 2 commits July 25, 2023 14:29
From now on, instead of using the current working directory when
running as scenario, molecule will chdir to scenario folder.

This change will enable people to use scenario specific ansible.cfg
files. Follow-up change will enable running molecule scenarios
directly from within them. When user is inside a scenario, molecule
will recognize it and no longer require the --scenario argument.
@zhan9san
Copy link
Contributor

zhan9san commented Aug 3, 2023

Would it be possible to add the related document as well?

@audgirka audgirka merged commit 00461c6 into main Aug 3, 2023
15 checks passed
@audgirka audgirka deleted the major/cwd-scenario branch August 3, 2023 09:02
@audgirka
Copy link
Contributor

audgirka commented Aug 3, 2023

Would it be possible to add the related document as well?

Just saw your msg, will be adding it in a separate PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants