VMware Networking Community
kdmahskey
Contributor
Contributor

Installation issue with "ansible-for-nsxt" modules

I have been trying to install "ansible-for-nsxt" modules by following:
https://github.com/vmware/ansible-for-nsxt/tree/9245e164c776300f4d370e65c6638dc8f924a931 

It seems it is not working as mentioned in the README instructions now, looks like since the repository has been updated to use the Ansible Collections issues have been arising.

Can anyone help me how can we install these ansible modules now?

KMahskey
Labels (2)
0 Kudos
1 Reply
p0wertje
Hot Shot
Hot Shot

Hi,

 

You can try this:

mkdir ~/.ansible/collections/ansible_collections/vmware
cd ~/.ansible/collections/ansible_collections/vmware
git clone https://github.com/vmware/ansible-for-nsxt ansible_for_nsxt


And use this in your playbook

collections:
  - vmware.ansible_for_nsxt 

 Hope this helps

Cheers,
p0wertje | VCIX6-NV | JNCIS-ENT | vExpert
Please kudo helpful posts and mark the thread as solved if solved
Tags (1)