Downloading And Preparing the Ansible Environment

This article details how to prepare the Ansible environment on the Ansible installer VM.

You can SSH into your Ansible installer VM using a method described in the SSH Into An Azure VM article.

Note that the Lightbits version maps to a few parameters that you will apply in this section. The table below describes the Lightbits version and the mapping to the specific parameters.

Lightbits VersionDocker Repository UsernameLight App Package NameAnsible Version
3.7.1lightos-3-7-1-rhl-8light-app-install-environment-v3.7.1~b1548v9.1.0
3.6.1lightos-3-6-1-rhl-8light-app-install-environment-v3.6.1~b15034.2.0
3.5.1lightos-3-5-1-rhl-8light-app-install-environment-v3.5.1~b14434.2.0
3.4.1lightos-3-4-1-rhl-8light-app-install-environment-v3.4.1~b13974.2.0
3.3.1lightos-3-2-1-rhl-86light-app-install-environment-v3.3.1~b13354.2.0
3.2.1lightos-3-2-1-rhl-86light-app-install-environment-v3.2.1~b12524.2.0
3.1.2lightos-3-1-2-rhl-86light-app-install-environment-v3.1.2~b11274.2.0
3.1.1lightos-3-1-1-rhl-86light-app-install-environment-v3.1.1~b11194.2.0

In this guide, the reference will use Lightbits version 3.7.1.

  1. Set the environment variables.
Bash
Copy

Downloading the Lightbits Installer Container

The Lightbits Docker container holds a complete Ansible environment and allows Lightbits to easily be installed.

  1. Log in to the Lightbits Docker repository.
Bash
Copy
  1. Pull the lb-ansible container.
Bash
Copy

Creating a Working Directory

To segregate installs and contain all install information inside a logical container, it is recommended to create a directory per cluster. This also means that you can re-use the same installer VM if you need to perform multiple cluster installs.

  1. Create a working directory.
Bash
Copy

Copying the SSH Keys to a Working Directory

If you are using SSH keys to authenticate from the installer VM to the Lightbits storage VMs, Ansible will also need to use the key to authenticate. If you are using a username/password then you can skip this step.

  1. Create a keys directory inside the working directory.
Bash
Copy
  1. Copy the key to the keys directory.
Bash
Copy
  1. Ensure that the key has the correct permissions.
Bash
Copy

Downloading Ansible Packages (Light App) To the Installer VM

The Ansible environment configuration files are hosted inside a Lightbits repository and must be downloaded and then configured.

  1. Download the install package.
Bash
Copy
  1. Unpack the install package.
Bash
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard