Setup vcloud director

Hello there,

Has anyone configured vcloud director using ansible api module? The requirements are here,

  1. Deploy vcloud OVA - Done
  2. Setup a NFS transfer storage and db password using URL http://:5480/setup – How do we achieve this with Ansible module(s)?

Anybody has any idea ?

Hello there,

Has anyone configured vcloud director using ansible api module? The requirements are here,

  1. Deploy vcloud OVA - Done
  2. Setup a NFS transfer storage and db password using URL http://:5480/setup – How do we achieve this with Ansible module(s)?

Anybody has any idea ?

How would you do this without ansible?

Hi, Vichu,

You can automate vcloud director using these official VMware Ansible modules - https://github.com/vmware/ansible-module-vcloud-director

I personally never tried it.

I’ve got playbooks for setting up vcloud director orgs, vdc’s, nsx-v edge gateways, networks, firewall / nat rules and vapps,
but nothing for setting up vcd I’m afraid.

Thought to do with curl command. In fact I have figured out a way with curll.

Thank you Abhijeet. I will look into it.

curl is OK (you can use uri module) but modules provide idempotency and other features. You don’t want to reinvent the wheel.