VMware

vRealize Aria Automation (formerly vRealize Automation) Database as a service (Without internet connectivity) using Red hat Ansible Tower, Git Lab and HTTPD.

Deploying and configuring VRA 8 – https://kdinesh.in/vrealize-automationvra/

Deploying Ansible Tower – https://docs.ansible.com/ansible-tower/latest/html/quickinstall/

Deploy Redhat 9.2 VM on vSphere and convert into the template and create image mapping in VRA

Deploy a Linux VM and configure HTTPD and Copy MariaDB repo files (Command to download repo files – wget -np -r -l 2 Repo URL)

Deploy Git Lab community version (You can check official gitlab doc ).

Ansible Tower Integration with VRA, VRA Cloud template configuration, Ansible Playbook and GitLab Configuration and Testing deployment: –

Login to VRA > Cloud Assembly> Infrastructure > Integration. Select Ansible Tower and add the required details.

You can Download Cloud template – https://github.com/Dineshk1205/vraAnsibleDB/blob/main/Redhat_Mariadb.yaml

Update Tags in cloud template according to your environment tags.

Crate a project in gitlab and Upload Ansible playbooks files.

Playbooks download Link – https://github.com/Dineshk1205/vraAnsibleDB/tree/main

Update Repo URL based on your environment.

Login to Ansible Tower, create a new project, Select SCM type Git and add SCM URL as GITHUB URL and select Update Revision on launch option and save,

Create Credentials. Select Credential type machine add REDHAT template username and password, Save.

Create Three Templates Mariadb11-0, MariaDB10-11, MariaDB10.10 ( Use following template names, if your using a different template names update the cloud templates according to template names)

Configuration completed. Publish VRA Cloud assembly template to Service Catalog and Test Deployment.

Login to VRA Service Broker. Select catalog item, Click on Request.

Select Project and Flavor and Version from the drop down list, enter deployment name , submit. Based on MariaDB input Ansible will run playbook.

Approx. it will take 15 to 20 min (Based on infra time may vary) for provisioning and configuring the VM.

Deployment completed successfully

Login and check VM. Ansible deployed MariaDB 11.0 and it’s running.

Check in Ansible tower, In the host list VM added .

MariaDB playbook job status is successful

Dineshreddy Kayithi

Rooted in a solid academic foundation with a Bachelor's Degree in Information Technology, my career has been deeply entrenched in designing, deploying, and managing enterprise-grade infrastructure across virtualization, cloud-native, and containerized environments. Industry certifications from VMware, AWS, Microsoft, and Kubernetes validate my hands-on expertise in architecting scalable, resilient systems spanning hypervisors, public/hybrid cloud platforms, and container orchestration frameworks. I'm driven by a relentless pursuit of emerging technologies — translating them into production-ready solutions that solve complex operational challenges.

Share
Published by
Dineshreddy Kayithi
Tags: AnsibleVRA8

Recent Posts

Canary Deployments on OpenShift with GitOps: A Practical Walkthrough

Shipping a new version of an application is always a small act of faith. Even…

2 weeks ago

OpenShift VM Backup and Restore

The following steps demonstrate how to back up and restore an OpenShift virtual machine using…

2 months ago

Red Hat OpenShift VM Micro-segmentation Using MultiNetworkPolicy

OpenShift Virtualization allows virtual machines (VMs) to run natively on Kubernetes alongside container workloads. Using…

4 months ago

Red Hat OpenStack Services on OpenShift (RHOSO)

Red Hat OpenStack Services on OpenShift (RHOSO) provides the foundation to build a private or public…

4 months ago

Kubernetes Cluster Deployment

Kubernetes (often shortened to “K8s”) is an open-source system for automating the deployment, scaling, and…

4 months ago

Ceph cluster on a single machine

Ceph is an open-source, distributed storage platform that provides object, block, and file storage in…

4 months ago