Managing Inventories and Credentials

This exercise provides practical experience with managing inventories and credentials in automation controller. You’ll learn how to navigate a preloaded inventory, understand its structure, and set up machine credentials for accessing managed hosts.

Introduction to Inventories

In automation controller, inventories define and organize the hosts your playbooks will target. They can be static (a fixed list of hosts) or dynamic (sourced from external systems).

Exploring the Workshop Inventory

The Workshop Inventory is preloaded in your lab environment, representing a static inventory configuration.

  • Accessing the Inventory: Navigate to Automation Execution → Infrastructure → Inventories in the web UI, and select Workshop Inventory.

  • Viewing Hosts: Within the Workshop Inventory, open the Hosts tab to see the predefined hosts, similar to those in a traditional Ansible inventory file.

Hosts

Understanding Machine Credentials

Machine credentials are essential for establishing secure SSH connections to managed hosts.

  • Accessing Credentials: Navigate to Automation Execution → Infrastructure → Credentials and select Workshop Credential.

  • Credential Details: The 'Workshop Credentials' is configured with:

    • Credential Type: Machine (for SSH).

    • Username: A predefined user, such as rhel.

    • Password: Encrypted, providing secure access to hosts.

Additional Credential Types

Automation controller supports over 30 different credential types for various automation tasks. Here are a few common ones:

  • Network Credentials: For managing network devices.

  • Source Control Credentials: For accessing source control systems.

  • Amazon Web Services (AWS) Credentials: For integrating with AWS services.

These credential types enhance the flexibility and security of your automation efforts.

Summary

In this exercise you:

  • Explored the preloaded Workshop Inventory and its host list

  • Reviewed Machine Credentials for secure SSH access

  • Learned about additional credential types supported by automation controller