Migrate the ansible-consul
role to a collection
#64
Replies: 4 comments 13 replies
-
ansible-consul, ansible-vault and ansible-nomad should IMHO be maintained by Hashicorp. If they don't pickup on this I suggest to delete these roles from ansible-community or to move them to a collection. Any volunteers to maintain them going forward?Bas ***@***.*** Hashicorp Ambassador, no longer involved.On 4 Sep 2023, at 18:02, Nik Reiman ***@***.***> wrote:
The ansible-consul role is one of the few roles that still lives under the ansible-community GitHub organization, and this has been a increasing point of pain and confusion in regards to the role's irregular name and namespace. In particular, there are two main annoyances:
Molecule tests no longer run because of the role's name and lack of a namespace attribute in meta/main.yml
Including the role is very awkward in requirements.yml files because it isn't available on Ansible Galaxy due to the current namespace
Therefore, I'm starting to wonder if we should migrate this role to be part of a collection (I would suggest community.consul). I'm not really sure where to reach out to the greater Ansible community, but it seems that this discussion board might be a good place. Please forgive me if there is a better place where we should discuss this matter.
Ansible Galaxy: https://galaxy.ansible.com/NAMESPACE/COLLECTION
GitHub: https://github.com/ansible-community/ansible-consul
Issues Tracker: https://github.com/ansible-community/ansible-consul/issues
GitHub Handles: @nre-ableton, @bbaassssiiee
Is the collection part of Automation Hub: No
We meet Collection Requirements: No (due to Ansible Galaxy, as mentioned above)
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
A bit of a delayed follow-up here, but due to the holiday downtime I've had some spare time to mess around with this a bit. I think that a collection would be a good solution for this role. The directory organization would then look like this:
The various markdown/text files in the root directory would be moved to the new root directory, and the only code change that is necessary is in the shared --- a/molecule/_shared/converge.yml
+++ b/molecule/_shared/converge.yml
@@ -2,7 +2,7 @@
- name: Converge
hosts: all
roles:
- - role: ansible-consul
+ - role: consul After doing this, I can finally run There is a question about the collection name. For my experiment, I used However, if we proceed with this migration, It would mean that users of the current
We should probably clear out the We'd also need to migrate issues from the old repo (51 open, I'm not sure how many are still relevant) and PRs (13, though at least a few of them are related to fixing ansible-lint and CI). For the issues, I would propose whipping up a simple shell script that uses As for the PRs, I'm happy to handle them on a case-by-case basis, but this process would probably involve disabling CI on Is anyone strictly opposed to the above? Are there any other concerns (such as the name etc)? Otherwise, what are the next steps? I'm happy to volunteer for most of the migration work, but obviously I'd need someone from the Ansible team to create the actual repo once we nail down the details. Ping @bbaassssiiee |
Beta Was this translation helpful? Give feedback.
-
@beechesII @rndmh3ro @ksatirli @lanefu @groggemans @jacobmammoliti are you, as maintainers, also OK with transferring the repo to the |
Beta Was this translation helpful? Give feedback.
-
The repo has been transferred: https://github.com/ansible-collections/ansible-consul |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The
ansible-consul
role is one of the few roles that still lives under theansible-community
GitHub organization, and this has been a increasing point of pain and confusion in regards to the role's irregular name and namespace. In particular, there are two main annoyances:namespace
attribute inmeta/main.yml
requirements.yml
files because it isn't available on Ansible Galaxy due to the current namespaceTherefore, I'm starting to wonder if we should migrate this role to be part of a collection (I would suggest
community.consul
). I'm not really sure where to reach out to the greater Ansible community, but it seems that this discussion board might be a good place. Please forgive me if there is a better place where we should discuss this matter.Ansible Galaxy: N/A
GitHub: https://github.com/ansible-community/ansible-consul
Issues Tracker: https://github.com/ansible-community/ansible-consul/issues
GitHub Handles: @nre-ableton, @bbaassssiiee
Is the collection part of Automation Hub: No
We meet Collection Requirements: No (due to Ansible Galaxy, as mentioned above)
Beta Was this translation helpful? Give feedback.
All reactions