Hi Jerry!

I’m not sure if this solution would work for you, but we find that it’s better 
to use Ansible for just setting up and deploying the management server and the 
compute nodes; when it comes to setting up zones, clusters, pods and so on, we 
typically use Python scripts and the cs library. It allows us to have more 
control over what’s being created, and it also allows us to have people specify 
what hosts/zones/clusters they want in a spreadsheet, with the scripts just 
reading those sheets and making the relevant API calls. Ansible felt 
slightly..clunky in this context.


Best!

Rudraksh Mukta Kulshreshtha
Vice-President - DevOps & R&D
IndiQus Technologies
O +91 11 4055 1411 | M +91 99589 54879
indiqus.com

This message is intended only for the use of the individual or entity to which 
it is addressed and may contain information that is confidential and/or 
privileged. If you are not the intended recipient please delete the original 
message and any copy of it from your computer system. You are hereby notified 
that any dissemination, distribution or copying of this communication is 
strictly prohibited unless proper authorization has been obtained for such 
action. If you have received this communication in error, please notify the 
sender immediately. Although IndiQus attempts to sweep e-mail and attachments 
for viruses, it does not guarantee that both are virus-free and accepts no 
liability for any damage sustained as a result of viruses.
On 26 Jun 2021, 2:11 PM +0530, li jerry <[email protected]>, wrote:
> Hello everyone
>
> Does anyone use ansible to add zone/pod/cluster/host/storage to cloudstack?
> Currently I can only use ansible to complete the deployment of cloudstack, 
> nfs, mysql and other services.
> I can't use ansible to complete operations such as adding zone/pod
>
> Can someone provide relevant documents or solutions?
>
> thank you very much!
>
>
>
> -Jerry
>

Reply via email to