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

Support collections #1

Open
geerlingguy opened this issue Feb 22, 2020 · 5 comments
Open

Support collections #1

geerlingguy opened this issue Feb 22, 2020 · 5 comments
Labels

Comments

@geerlingguy
Copy link
Owner

It's bad enough this playbook can wreck a role requirements file. Let's make it so it can handle a list of collections, too.

Example requirements.yml that is currently slashed in half by this playbook:

---
roles:
  # Install a role from Ansible Galaxy.
  - src: geerlingguy.java
    version: 1.9.6

collections:
  # Install a collection from Ansible Galaxy.
  - name: geerlingguy.php_roles
    version: 0.9.3
    source: https://galaxy.ansible.com

Straight from the docs.

@stale
Copy link

stale bot commented May 22, 2020

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

@stale stale bot added the stale label May 22, 2020
@stale
Copy link

stale bot commented May 22, 2020

This issue is no longer marked for closure.

@binaryfire
Copy link

@geerlingguy This playbook is a big time saver, thank you! Are you still planning on adding support for collections? That'd be really helpful.

@geerlingguy
Copy link
Owner Author

@binaryfire - I'm still holding onto a slim margin of hope that someday Ansible itself could have a 'freeze' file or something so you could just define a range in your requirements.yml file... but we'll see.

@dec0dOS
Copy link

dec0dOS commented Jun 28, 2022

Thanks a lot for this playbook! Looking forward for the collections support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants