Vichu1
(Vichu)
August 15, 2022, 7:04pm
1
Hello there,
Has anyone configured vcloud director using ansible api module? The requirements are here,
Deploy vcloud OVA - Done
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 ?
dnmvisser
(Dick Visser)
August 16, 2022, 1:19am
2
Hello there,
Has anyone configured vcloud director using ansible api module? The requirements are here,
Deploy vcloud OVA - Done
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?
Akasurde
(Abhijeet Kasurde)
August 16, 2022, 5:30am
3
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.
Stu
(Stu)
August 16, 2022, 8:13am
4
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.
Vichu1
(Vichu)
August 16, 2022, 5:24pm
5
Thought to do with curl command. In fact I have figured out a way with curll.
Vichu1
(Vichu)
August 16, 2022, 5:25pm
6
Thank you Abhijeet. I will look into it.
Akasurde
(Abhijeet Kasurde)
August 17, 2022, 1:44am
7
curl is OK (you can use uri
module) but modules provide idempotency and other features. You don’t want to reinvent the wheel.