Posts

Showing posts with the label centos

How to build Ansible provision server for VMware ?

Ansible is a great automation tool for infrastructure as a code and using ansible modules to automate VMware platform is really easy. In order to start the automation, need to configure a provision server where ansible and some of its dependencies need to be installed. A provision server can be on any operating system. But in this document we have focused on the following two opensource operating systems: Ubuntu 20.04 LTS CentOS 8.x  Following steps need to be performed to configure Ubuntu 20.04 LTS as a provision server: a. Install python3-pip:     # apt-get  install  python3-pip  -y    Upgrade pip3 to the latest version:   # pip3  install  --upgrade  pip b. Install & check latest ansible  version:       # pip3 install ansible   # pip3 show ansible      c.  Install & check  pyVmomi :       # pip3 install pyvmomi ...

VNC Configuration using Ansible in CentOS 6

Image
1. Install epel repo on CentOS 6 system:     # yum install epel-release  -y 2. Install ansible using yum:     # yum install ansible  -y 3. Go to the '/etc/ansible/roles' directory and run the below command to create the required directory structure:     # ansible-galaxy  init  vnc6  --offline        - vnc6 was created successfully   # tree vnc6        vnc6     ├── defaults     │   └── main.yml     ├── files     ├── handlers     │   └── main.yml     ├── meta     │   └── main.yml     ├── README.md     ├── tasks     │   └── main.yml     ├── tests     │   ├── inventory     │   └── test.yml     └── vars         └── main.yml     4....

Use Heat Orchestration Template (HOT) to prepare Murano Application Catalog in Mirantis OpenStack

Image
Murano deals with applications while Heat orchestrates infrastructure. In fact Murano utilizes an infrastructure orchestration layer such as Heat to provision the underlying VMs, networking and storage. With Murano it is possible to upload applications written in the HOT (Heat Orchestration Template) format. This format is supported by the Murano CLI tool, which automatically generates a proper Murano application package from the HOT template supplied by the user. In Mirantis OpenStack both heat and murano are integrated through horizon to make the deployment simpler. To prepare a catalog the following three components are needed: manifest.yaml logo.png template.yaml Manifest will have the basic information about the catalog like name, description, tags etc. # cat manifest.yaml Format: Heat.HOT/1.0 Type: Application FullName: io.murano.apps.Platform Name: Web Development Platform Description: "Heat template to deploy CentOS 7 & Ubuntu 16.04 LTS Ser...