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

Add to ansible-galaxy #68

Open
bsecker opened this issue Aug 6, 2021 · 7 comments
Open

Add to ansible-galaxy #68

bsecker opened this issue Aug 6, 2021 · 7 comments

Comments

@bsecker
Copy link

bsecker commented Aug 6, 2021

Hi guys,

I've been playing around with this project a bit and am impressed with it. It works well in isolation, but because of the structure of this repository, to get the roles integrated into an existing ansible repo I had to manually copy the roles/ out and paste them into our repo.
I would like to open some discussion around restructuring the repo so that it can be easily imported into ansible-galaxy, for easier integration into customers existing infrastructure repositories.

Would something like that be possible? Hope what I'm asking for makes sense, would be happy to clarify.

@mddamato
Copy link
Contributor

This has floated around some and I think the approach so far has been to have a separate repository that extracts the roles from this repository and gets combined with other roles such as the OS STIG/RKE2 prep roles being developed to make them more galaxy friendly. This might have already been done, in fact. I'll see if we can gather some info around this.

@bsecker
Copy link
Author

bsecker commented Oct 3, 2021

Hey @mddamato, do you have any updates on your above comment?

Cheers

@dgvigil
Copy link
Contributor

dgvigil commented Nov 9, 2021

That was my original goal with this repo example. It was meant to be a single play, but other decisions were made and this was turned into a full playbook.
This was changed in commit bb0e7a1 .

Perhaps we can see about turning this back into a single role and see if the community agrees with us, @bsecker .

@dgvigil
Copy link
Contributor

dgvigil commented Nov 9, 2021

Looking over the code base again, this would be a herculean effort to return the code base to a single role. I really like the idea, but not sure how feasible it is now.

@slconley
Copy link

rather than reverse back a single role, what about using this repo for a galaxy collection? possibly even consider bringing in the rke2_nvidia role from the enable-gpu-rke2 repo. I have done some offline work along these lines and this would be very straight-forward to do. I would be glad to help make this happen.

@Robbilie
Copy link

https://github.com/lablabs/ansible-role-rke2

that repository does provide a role, was there any communication between the maintainers of this repo and theirs?

@jdloft
Copy link

jdloft commented May 1, 2023

How about https://github.com/jdloft/rke2-ansible/tree/galaxy? That would be the bare minimum for being able to import playbooks:

- import_playbook: rancherfederal.rke2.site

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

No branches or pull requests

6 participants