-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Transition of ansible modules for podman to a new place #4654
Comments
This is fine with me. |
Hi,
Your next steps look spot on to me. Naming things is always fun, so thinking about what goes where and what it might look like n-months in the future can help. Please do shout out if there is anything I can assist with. The Core & Community team are all available in DocsBoth of these docs are fairly new, and we know that things are still changing. If you spot anything that's missing/confusing/wrong please do let us know by raising a Docs issue |
Yeah, I think it's great to have other modules there too. At least we will be prepared for that. |
If using a container-y namespace, it might be good to manage all the container-related modules in there—docker, buildah, podman... The only concern I have is what if one of those communities decides they want to split off and manage the release cadance/etc. differently? |
I think Docker devs might be want to develop this in https://github.com/docker when Docker is actually being developed. I think it's better to keep modules close to tools they wrap to reflect better changes in these tools.
|
@sshnaidm I created the repository and invited you to administrate it. |
Where is the repo? |
@gundalow the repo is https://github.com/containers/ansible-podman-collections |
Excellent, thank you. You can use https://github.com/ansible-community/collection_migration to help populate the repo by creating a scenario file. |
@sshnaidm I just grabbed rhatdan from galaxy. |
@rhatdan can you please make me a part of github.org "containers" organization https://github.com/orgs/containers/people ? |
Sent you an invite. |
@rhatdan you should have powers now |
Frankly I do not know what you want me to do? |
@rhatdan just enjoy it 😄 |
Just an update, after working with @gundalow on Openstack modules moving, we'll start with podman modules. |
The Ansible docker_* modules are not related to Docker Inc., and as far as I'm aware the set of current docker_* maintainers/developers is disjoint from the set of people related to Docker Inc. (like employees). So I don't see why the docker_* modules should/could end up in https://github.com/docker. I personally would prefer if they end up in a "generic" container / cloud collection, instead of a standalone docker collection. |
I am all for that. We should use the generic name container rather then the company name Docker, whenever possible. |
Well, in this case it makes sense to host |
Are these modules exec'ing docker/podman or talking directly to the docker.sock? |
@rhatdan ansible |
Well if you are following libpod, there is an effort to support docker.sock and some of docker-py with Podman. APIV2. |
@rhatdan thanks, that's very interesting and promising! |
@gundalow can we move here also ansible podman connection plugin? Issues like #4813 affects plugin funcitonality and blocks us to use it, for example for molecule testing. We'll need to wait until next ansible release to use it, after it's packaged, distributed, etc etc. Till then we're blocked. |
Yes, all plugins should be moved into the new collection. |
Can I close this issue now? Not sure this is actually a podman problem? Reopen if I am mistaken |
Not a problem, just issue for tracking. I think I'll send updates via ML about that later. |
FYI modules have been moved to new place: containers/ansible-podman-collections#3 |
Hi, all libpod devs and contributors
I'd like to raise a topic about podman/buildah Ansible modules. If this is not the best place to do it - please point me to the right one.
Preface:
Ansible project is going to remove their community modules from the main repo to collections in Ansible Galaxy and other repositories. Community modules should find them a new home. We're going through the same process in Openstack and other communities. I don't have a link for reference yet, but @gundalow from Ansible core team can confirm.
Required actions:
We have a few podman modules in Ansible now and a few of them on review, and some in Openstack repo of TripeO-Ansible.
I think the best place for Ansible podman/buildah modules will be the repository under containers/ namespace here.
Also, we need to choose a namespace to hold them in Ansible Galaxy, I think "podman." could be a logical choice. If you think different, please comment.
I see there is a repo ansible-podman here which contains one podman image module, that duplicates the existing podman image module in Ansible. I'm not sure what is the purpose of this repo and this duplicate, so I'd propose to go to a new repository name like "ansible-podman-collections". It will have a different structure and will contain current Ansible modules in the form of collection.
What is an advantage to have these modules here?
Ansible modules of podman can be kept up with the latest podman/buildah changes and ensure they are not broken when the new version of podman is released. They can be tested in real environments with real-life user scenarios and on various platforms. Like we have jobs for TripleO here, we can organize the same for Ansible podman collections. Also, it's very logical to have modules here, near the podman repos. And no much choice, to be honest.
License question.
Ansible and its modules are developed under GPLv3 license. Podman is developed under Apache2. To prevent a mix of licenses in this namespace, I'd like to relicense all my modules under Apache2. Podman image module was made by @samdoran and it's up to him to relicense it. All the rest is written by me, so no problem :)
Next steps as it seems to me.
Please comment here what do you think.
Thanks.
/kind feature
The text was updated successfully, but these errors were encountered: