Skip to content

Prevent failure on empty inventory groups#32

Merged
CendioMartin merged 1 commit intocendio:masterfrom
aeneby:fix_empty_groups
May 20, 2024
Merged

Prevent failure on empty inventory groups#32
CendioMartin merged 1 commit intocendio:masterfrom
aeneby:fix_empty_groups

Conversation

@aeneby
Copy link
Copy Markdown
Contributor

@aeneby aeneby commented May 17, 2024

If role-defined groups exist in the inventory but are empty, execution fails. This patch ensures that the default value is used not only if the group is missing, but also if it exists and is empty.

Fixes #31.

If role-defined groups exist in the inventory but are empty, execution
fails. This patch ensures that the default value is used not only if the
group is missing, but also if it exists and is empty.

Fixes cendio#31.
@CendioMartin CendioMartin merged commit eef193b into cendio:master May 20, 2024
@CendioMartin
Copy link
Copy Markdown
Contributor

Thank you @aeneby

@aeneby aeneby deleted the fix_empty_groups branch May 20, 2024 22:29
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

Successfully merging this pull request may close these issues.

Playbook fails if inventory has an empty thinlinc_masters or thinlinc_agents group

2 participants