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

Implement multiple inventory for ansible.targets #67776

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

vzhestkov
Copy link
Contributor

What does this PR do?

Adds inventories parameter for ansible.targets in case if the list passed to this parameter the function will return the dict with the inventory filenames as the keys and the content inside.

What issues does this PR fix or reference?

Tracks: https://github.com/SUSE/spacewalk/issues/26439

Previous Behavior

ansible.targets returns the content of only one single inventory

New Behavior

ansible.targets can return the content of multiple inventory files

Merge requirements satisfied?

[NOTICE] Bug fixes or features added to Salt require tests.

Commits signed with GPG?

Yes/No

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.

1 participant