ansible-for-nsxt icon indicating copy to clipboard operation
ansible-for-nsxt copied to clipboard

Ansible collection should be pushed to Ansible Galaxy

Open lvlie opened this issue 4 years ago • 11 comments

Now that this repository is refactored to a collection the way to get the modules has improved greatly, so thanks for that!

However, this collection has not yet been published to Ansible galaxy, which would make finding, tracking and downloading the collection even easier.

How to push a collection can be found here: https://docs.ansible.com/ansible/latest/dev_guide/developing_collections_distributing.html#publishing-a-collection

There is already a collection exposed to this organisation, but that one is pushed from the ansible-collections organisation on github. They might also own the current organisation?

lvlie avatar May 21 '21 14:05 lvlie

I'd like to add the comment that as the collection has not yet been published to galaxy, the instructions listed in the README.md do not work for installing the module, and no alternative instructions have been provided as to how to install this module otherwise. This has proven to be a very frustrating experience as an end user trying to install the module.

jamiegrandfield avatar Jul 28 '21 04:07 jamiegrandfield

However, this collection has not yet been published to Ansible galaxy, which would make finding, tracking and downloading the collection even easier.

Any news? It would be really great to see this as a collection on galaxy.

mariolenz avatar Sep 18 '21 15:09 mariolenz

As a new user of Ansible, I'm glad this issue exists because I had no idea why the listed install instructions did not work.

I'm concerned about adopting use of this collection if you haven't even responded to the issue that was opened several months ago, or simply just fixed the issue altogether with the simple instructions that were provided in the initial post.

lcrownover avatar Oct 04 '21 18:10 lcrownover

Same here... how do we install?

owensresearch avatar Oct 04 '21 18:10 owensresearch

The module can be installed with the ansible-galaxy command with the git source, e.g.

---
# requirements.yml
collections:
  # currently ansible-for-nsxt is not available on ansible-galaxy
  - name: https://github.com/vmware/ansible-for-nsxt.git
    type: git
    version: 8914692c92c2b35899f42c8cf62c587d3dcf78e5 # repo does not provide tags :( 
ansible-galaxy install -r requirements.yml

The release on ansible galaxy is deprecated and should be removed! @vmware please fix this to avoid further confusion.

slauger avatar Oct 04 '21 19:10 slauger

@slauger

The release on ansible galaxy is deprecated and should be removed!

I'm not sure if I agree. The main point is not to remove the outdated version from galaxy, but to publish the current version there ;-)

mariolenz avatar Oct 04 '21 19:10 mariolenz

Might be good to link this to #290 as well, the original request to actually refactor into a collection

lvlie avatar Oct 04 '21 19:10 lvlie

Has there been any update on this being put into galaxy?

matthewdennett avatar Mar 15 '22 04:03 matthewdennett

@r-raghu can you give us an update here?

keachi avatar Aug 23 '22 12:08 keachi

The module can be installed with the ansible-galaxy command with the git source, e.g.

---
# requirements.yml
collections:
  # currently ansible-for-nsxt is not available on ansible-galaxy
  - name: https://github.com/vmware/ansible-for-nsxt.git
    type: git
    version: 8914692c92c2b35899f42c8cf62c587d3dcf78e5 # repo does not provide tags :( 
ansible-galaxy install -r requirements.yml

The release on ansible galaxy is deprecated and should be removed! @vmware please fix this to avoid further confusion.

Just like everyone here I also ran into this issue and unfortunately this workaround gives the same issue as well

kmahskey avatar Oct 17 '22 11:10 kmahskey

any update ? what is the version code to upgrade to version 3.0.0 ? Thanks

vgrosdoy avatar Apr 26 '24 16:04 vgrosdoy