Skip to content

Commit

Permalink
docs(inventory): Add documentation for inventory playbook
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonpagetas committed Aug 19, 2024
1 parent 905412e commit 4803cea
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ about: https://github.com/nofusscomputing/ansible_collection_centurion

Available playbooks include:

- [Inventory](./inventory.md)
- [Teams](./teams.md)
32 changes: 32 additions & 0 deletions docs/projects/ansible/collection/centurion/playbooks/inventory.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
title: Inventory
description: Inventory host machines and publish to Centurion ERP
date: 2024-08-19
template: project.html
about: https://github.com/nofusscomputing/ansible_collection_centurion
---

The inventory playbook has been created to inventory host machines and to publish the collected inventory to Centurion ERP. The inventory includes details of all software packages installed on the host machine as well as some details regarding the host machine such as UUID and serial number.

The inventory playbook includes the [AWX Feature](../../../playbooks/awx.md) to import the playbook as a job template in AWX / Ansible Automation Platform.

The following job template will be created:

* **Centurion/ITAM/Inventory** Inventory host machines and publish to Centurion ERP

On import to AWX / Ansible Automation Platform a credential type will also be created, 'Collection/No Fuss Computing/Centurion/API' that can be used to supply the required secrets and Centurion host.


!!! warning
The inventory playbook currently has an issue relating to gathering software starting with L. This issue has been reported and is being worked on https://github.com/nofusscomputing/ansible_collection_centurion/issues/19


## Play workflow

The inventory playbook conducts the follwoing tasks:

- Gathers host information
- Gathers sofware information
- POSTS an inventory report to Centurion ERP
- Cleans any leftover files used to create the reports

2 changes: 2 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ nav:
- Playbooks:

- projects/ansible/collection/centurion/playbooks/index.md

- projects/ansible/collection/centurion/playbooks/inventory.md

- projects/ansible/collection/centurion/playbooks/teams.md

Expand Down

0 comments on commit 4803cea

Please sign in to comment.