Rechercher

Ce contenu n'est pas disponible dans la langue sélectionnée.

Chapter 6. Inventories

download PDF

An inventory is a collection of hosts managed by automation controller. Organizations are assigned to inventories, while permissions to launch playbooks against inventories are controlled at the user or team level.

For more information, see the following documentation:

6.1. Creating a new Inventory

The Inventories window displays a list of the inventories that are currently available. You can sort the inventory list by name and searched type, organization, description, owners and modifiers of the inventory, or additional criteria.

Procedure

  1. To view existing inventories, select Resources Inventories from the navigation panel.

    • Automation controller provides a demonstration inventory for you to use as you learn how the controller works. You can use it as it is or edit it later. You can create another inventory, if necessary.
  2. To add another inventory, see Add a new inventory in the Automation controller User Guide for more information.
  3. Click Demo Inventory to view its details.
Demo inventory

As with organizations, inventories also have associated users and teams that you can view through the Access tab. For more information, see Inventories in the Automation controller User Guide.

A user with the role of System Administrator has been automatically populated for this.

6.2. Managing groups and hosts

Inventories are divided into groups and hosts. Groups can represent a particular environment (such as a "Datacenter 1" or "Stage Testing"), a server type (such as "Application Servers" or "DB Servers"), or any other representation of your environment. The groups and hosts that belong to the Demo inventory are shown in the Groups and Hosts tabs.

6.2.1. Adding new groups and hosts

Groups are only applicable to standard inventories and are not configurable directly through a Smart Inventory. You can associate an existing group through hosts that are used with standard inventories. For more information, see Adding groups to inventories in the Automation controller User Guide.

Procedure

  1. From the navigation panel, select Resources Inventories.
  2. To add new groups, select the Groups tab and click Add.
  3. To add new hosts to groups, select the Hosts tab and click Add.

As part of the initial setup and to test that automation controller is set up properly, a local host is added for your use.

localhost

Example

If the organization that you created has a group of web server hosts supporting a particular application, complete the following steps:

  1. Create a group and add the web server hosts, to add these hosts to the inventory.
  2. Click Cancel (if you made no changes) or use the breadcrumb navigational links at the top of the automation controller browser to return to the Inventories list view. Clicking Save does not exit the Details dialog.
Red Hat logoGithubRedditYoutubeTwitter

Apprendre

Essayez, achetez et vendez

Communautés

À propos de la documentation Red Hat

Nous aidons les utilisateurs de Red Hat à innover et à atteindre leurs objectifs grâce à nos produits et services avec un contenu auquel ils peuvent faire confiance.

Rendre l’open source plus inclusif

Red Hat s'engage à remplacer le langage problématique dans notre code, notre documentation et nos propriétés Web. Pour plus de détails, consultez leBlog Red Hat.

À propos de Red Hat

Nous proposons des solutions renforcées qui facilitent le travail des entreprises sur plusieurs plates-formes et environnements, du centre de données central à la périphérie du réseau.

© 2024 Red Hat, Inc.