Skip to main content

Use a Dynamic Inventory

olam lab tutorial olae
Table of Contents

Links

🌙 Lab

🗒 Tutorial

Details

Oracle Linux Automation Engine, the open-source software for provisioning and configuration management, uses an inventory file to work against managed nodes or hosts in your infrastructure. This inventory file contains a list of servers, their IP addresses, and other optional connection information.

A static inventory file works well if your infrastructure hardly changes.

However, your infrastructure is likely in constant flux when using the cloud. Therefore, it would be great to have a way to have your inventory dynamically updated as hosts come and go.

Objectives

In this tutorial, you’ll learn to:

  • Setup Oracle Linux Automation Engine
  • Create an OCI Dynamic Inventory
  • Use the OCI Dynamic Inventory with a Playbook.

Prerequisites

  • A minimum of two Oracle Linux systems with the following configuration:

    • a non-root user with sudo permissions
    • ssh keypair for the non-root user
    • the ability to SSH from one host to another using a passwordless SSH login