Setup vcloud director

110 views
Skip to first unread message

Vichu

unread,
Aug 15, 2022, 3:04:03 PM8/15/22
to Ansible Project
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://<vcloud Director>:5480/setup -- How do we achieve this with Ansible module(s)? 

Anybody has any idea ? 

Dick Visser

unread,
Aug 15, 2022, 9:19:54 PM8/15/22
to ansible...@googlegroups.com
How would you do this without ansible?



--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/905c2e39-1066-446a-8428-8a99a451a080n%40googlegroups.com.
--
Sent from Gmail Mobile

Abhijeet Kasurde

unread,
Aug 16, 2022, 1:30:40 AM8/16/22
to ansible...@googlegroups.com
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.



--
Thanks,
Abhijeet Kasurde

Stuart Lowe

unread,
Aug 16, 2022, 4:13:30 AM8/16/22
to ansible...@googlegroups.com

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.

 

From: ansible...@googlegroups.com <ansible...@googlegroups.com> On Behalf Of Abhijeet Kasurde
Sent: 16 August 2022 06:30
To: ansible...@googlegroups.com
Subject: Re: [ansible-project] Setup vcloud director

 

Caution: This email originated from outside of the organisation. Do not click links or open attachments unless you recognise the sender and know the content is safe

 

---------------

Stuart Lowe He/Him
Senior Cloud Support Engineer
Zen Internet
Team: 01706 902009
Web: zen.co.uk

Proud to be a certified B Corporation

This message is private and confidential. If you have received this message in error, please notify us and remove it from your system.

Zen Internet Limited may monitor email traffic data to manage billing, to handle customer enquiries, and for the prevention and detection of fraud. We may also monitor the content of emails sent to and/or from Zen Internet Limited for the purposes of security, staff training and to monitor the quality of service.
Zen Internet Limited is registered in England and Wales, Sandbrook Park, Sandbrook Way, Rochdale, OL11 1RY Company No. 03101568 VAT Reg No. 686 0495 01

Viswanath Thangamuthu

unread,
Aug 16, 2022, 1:25:09 PM8/16/22
to ansible...@googlegroups.com
Thought to do with curl command. In fact I have figured out a way with curll. 

Viswanath Thangamuthu

unread,
Aug 16, 2022, 1:25:40 PM8/16/22
to ansible...@googlegroups.com
Thank you Abhijeet. I will look into it. 

Abhijeet Kasurde

unread,
Aug 16, 2022, 9:44:35 PM8/16/22
to ansible...@googlegroups.com
curl is OK (you can use `uri` module) but modules provide idempotency and other features. You don't want to reinvent the wheel.



--
Thanks,
Abhijeet Kasurde
Reply all
Reply to author
Forward
0 new messages