-
Notifications
You must be signed in to change notification settings - Fork 2
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
more ansible concepts #75
Merged
sureshjoshi
merged 17 commits into
sureshjoshi:main
from
lilatomic:70-more-ansible-concepts
Jun 26, 2022
Merged
more ansible concepts #75
sureshjoshi
merged 17 commits into
sureshjoshi:main
from
lilatomic:70-more-ansible-concepts
Jun 26, 2022
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
useful for coupling the same playbook to different inventories
ansible can use local roles and collections without them being built and installed, so long as they exist withing the directory convention
It has some YAML problems, but isn't taken in by pants as an ansible file, so there were conflicting lint error counts
Local collections are poorly documented. Like local roles, they don't need to be installed to be referenced in playbooks.
waiting on other features to be implemented
for now, they just depend on local roles and don't require galaxy installs. Because I don't know of a good no-op role
running it with pants would not find this error
I guess we also have to decide if the ansible should or should not have errors |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
closes #70
Adds many more ansible concepts!
One thing it doesn't add is role dependencies on galaxy items. I left this out since I we'd need to pick a no-op role from galaxy.
Also,
ansible-playbook
is currently failing since "my_namespace.my_collection.collection_role" needs to be installed. do we want to comment therole
line out?