-
Notifications
You must be signed in to change notification settings - Fork 27
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
Add install_collection_from_disk method #67
Conversation
src/ansible_compat/runtime.py
Outdated
"--output-path", | ||
tmp_dir, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The option value should reside next to the option value
"--output-path", | |
tmp_dir, | |
"--output-path", tmp_dir, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope, black will reformat.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Then add ignores. It's ridiculous when a formatter forces keeping tightly coupled things in different places.
Fixed, retry is disabled by default.
As ansible-galaxy can install collections from disk only with 2.10+, we add a new method that can be used with all supported versions of Ansible. This also enables install_collection to have a force argument.
As ansible-galaxy can install collections from disk only with 2.10+, we add a new method that can be used with all supported versions of Ansible.
This also enables install_collection to have a force argument.
Related: ansible/molecule#3225 #65