Deploy Cloudstack Management Server Using Ansible – Part II (Management Server)

Introduction

In this section, we’ll continue setting up cloudstack Management server role using ansible

If you haven’t done so yet, kindly consider having look at the previous section before proceeding.

Defaults

Let’s switch to the defaults folder under management role and update the main.yml as below;

Here we are preparing the default variables we’ll be using in this role. This includes variables such as passwords, NFS mount points, MySQL usernames e.t.c

Templates

Switch to the Templates Directory of the Management Role and create a file called cloudstack.repo.j2. Add the following content to the file

We’ll be using this template file in the next step to upload cloudstack repo. We could also use the file module to simply upload the file. In my case, I chose to use a template.

Tasks

Next, we’ll look at the tasks under the management server role. Switch to management directory and update the main.yml file.

Handlers

Switch to the handlers directory under the management role and update the main.yml with the following;

This is the end of Part II. Next we’ll look at Deploying KVM

Series Navigation<< Deploy Cloudstack Management Server Using Ansible – Part I (MariaDB)Deploy Cloudstack Management Server Using Ansible – Part III (KVM Setup) >>
The following two tabs change content below.

harun

Harun is a System Administrator with proficient knowledge in cloud technologies such as KVM, Cloudstack, Citrix Xen Server, Openstack and VMware Vsphere Suite, Ceph, NFS, ISCSI

Latest posts by harun (see all)

Leave a Reply

Your email address will not be published. Required fields are marked *