8000 Bump ansible-compat from 2.0.2 to 2.1.0 by dependabot[bot] · Pull Request #3560 · ansible/molecule · GitHub
[go: up one dir, main page]

Skip to content

Bump ansible-compat from 2.0.2 to 2.1.0 - #3560

Merged
ssbarnea merged 1 commit into
mainfrom
dependabot/pip/ansible-compat-2.1.0
Jun 1, 2022
Merged

ssbarnea merged 1 commit into
mainfrom
dependabot/pip/ansible-compat-2.1.0

Conversation

@dependabot
@dependabot dependabot Bot commented on behalf of github May 31, 2022 •
Copy link
Copy Markdown
Contributor

This bump also required updating one test as the role installation
location changed from older versions.

@dependabot
dependabot Bot requested review from a team as code owners May 31, 2022 14:02
@dependabot
dependabot Bot requested review from Shaps and ziegenberg and removed request for a team May 31, 2022 14:02
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file skip-changelog labels May 31, 2022
@dependabot
dependabot Bot requested review from ganeshrn, priyamsahoo and relrod and removed request for a team May 31, 2022 14:02
@zhan9san
Copy link
Copy Markdown
Contributor

Let us upgrade ansible-compat in #3514

@ssbarnea
ssbarnea force-pushed the dependabot/pip/ansible-compat-2.1.0 branch 2 times, most recently from 3dd3208 to 71834cf Compare May 31, 2022 14:34
@ssbarnea ssbarnea self-assigned this May 31, 2022
@ssbarnea ssbarnea added bug dependencies Pull requests that update a dependency file and removed skip-changelog dependencies Pull requests that update a dependency file labels May 31, 2022
@zhan9san
zhan9san commented Jun 1, 2022
Copy link
Copy Markdown
Contributor

Hi @ssbarnea

Regarding to the failure of role_list = run_command(["ansible-galaxy", "role", "list"], env=os.environ)

If we run molecule xxx, the role would be installed in an ephemeral directory whose name is calculated by ansible-compat. During molecule xxx, this ephemeral directory is inserted in environment variable ANSIBLE_ROLES_PATH. So all functions work well.

Instead, if we run ansible-galaxy command directly(without molecule), ansible-galaxy has no idea of ephemeral directory, that's to say, the role installed by molecule is unknowable.

This case is covered in #3514

This bump also required updating one test as the role installation
location changed from older versions.
@ssbarnea
ssbarnea force-pushed the dependabot/pip/ansible-compat-2.1.0 branch from 71834cf to 957c6fb Compare June 1, 2022 06:51
@ssbarnea
ssbarnea merged commit 971a747 into main Jun 1, 2022
@ssbarnea
ssbarnea deleted the dependabot/pip/ansible-compat-2.1.0 branch June 1, 2022 06:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0