Skip to content

Commit

Permalink
adding images to dynamic inventory section
Browse files Browse the repository at this point in the history
  • Loading branch information
rlopez133 committed Dec 10, 2024
1 parent de6bb75 commit 503ce09
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/modules/ROOT/assets/images/sources.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions content/modules/ROOT/pages/05-aap-smart-inventory.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,15 @@ Virtualization. This will enable AAP to manage OpenShift VMs residing in the
* Select `Default` as the Organization.
+
. Click the **Create inventory** button.
+
image::../assets/images/create_inventory.png[title="Create Inventory"]

== Add a Source to the Inventory

. After creating the inventory, switch to the **Sources** tab.
+
image::../assets/images/sources.png[title="Sources"]
+
. Select the **Create source** button.
+
. In the **Create Source** form:
Expand All @@ -34,12 +38,16 @@ Virtualization. This will enable AAP to manage OpenShift VMs residing in the
* Add your OpenShift Credential (Bearer Token) that you previously created in AAP.
+
. Click the **Create source** button to save the configuration.
+
image::../assets/images/create_inventory_source.png[title="Create Inventory Source"]

== Update the Inventory
. Launch the inventory update:
* Navigate to the **Details** window for the newly created source.
* Click the **Launch Inventory Update** button in the top-right corner.
+
image::../assets/images/update_inventory.png[title="Update Inventory"]
+
. Wait for the **Last Job Status** to show `Success`.

== Verify the Inventory
Expand All @@ -48,6 +56,8 @@ Virtualization. This will enable AAP to manage OpenShift VMs residing in the
* Switch to the **Hosts** tab.
+
. Confirm that the Virtual Machines from the `vms-app-day2` namespace of your OpenShift cluster are listed as inventory hosts.
+
image::../assets/images/verify_hosts.png[title="Verify Hosts"]

== Conclusion
You have successfully created a dynamic inventory in Ansible Automation Platform
Expand Down

0 comments on commit 503ce09

Please sign in to comment.