https://github.com/ericcames/product-demos-dailydemo-linux
The Linux Daily Demo repo designed to work with the Red Hat product demos system.
https://github.com/ericcames/product-demos-dailydemo-linux
Last synced: 8 months ago
JSON representation
The Linux Daily Demo repo designed to work with the Red Hat product demos system.
- Host: GitHub
- URL: https://github.com/ericcames/product-demos-dailydemo-linux
- Owner: ericcames
- License: mit
- Created: 2025-07-28T21:12:06.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-07-28T21:55:36.000Z (11 months ago)
- Last Synced: 2025-07-28T23:23:12.229Z (11 months ago)
- Language: Jinja
- Size: 1010 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Ansible Automation Platform Daily Demo for Linux
=========
A demo designed to showcase many of the use cases that people are looking for. We are using the workflow visualizer to show how the various building blocks are put together and enable the delivery on demand of a custom website. The playbooks call roles, the roles allow for ease of sharing the code and also allow for documentation of the various things needed in each role. The demo is designed to be integrated with an IT Service Management (ITSM) system. Everything will be documented in ITSM system via the skillfull use of automation. We have added integration with Red Hat Satellite to enable us to demo automated patching using satellite.
Day 0 - Configuration as code (CAC) a repeatable build process for this demo
=========
Configuration as code give you an easy way to recover/move your ansible related artifacts to a new platform. That includes your hardcoded credentials. The hardcoded credentials can be safely vaulted in an ansible vault file. Check out the setup_demo.yml for the configurations for setting up this demo using configuration as code.
[Setup - Linux Daily Demo - CAC](https://github.com/ericcames/aap.dailydemo.linux/blob/main/playbooks/setup_demo.yml "Setup - Linux Daily Demo - CAC")
Variables used in the setup template
```
my_organization: AmesCO
my_vault: Eric Ames
my_rh_aap_credential: aap.kona.services
my_aws_credential: AWS Blank Open Environment pvwk8
my_aws_machine_credential: AWS Machine Credential - Ames
my_itsm_credential: ServiceNow ITSM Credential - Ames
my_itsm_username: hercules
my_sat_credential: sat.kona.services
timezone_id: America/Phoenix
satellite_host: https://sat.kona.services
remotevault: true
my_remote_vault: >-
https://raw.githubusercontent.com/ericcames/aap.as.code/refs/heads/main/playbooks/files/vaults/ames/vault_ames.yml
aap_configuration_async_retries: 60
```
Day 1 - Run the Linux Daily Demo Workflow
=========
# The workflow



**The playbooks**
[1. DDL - VM Create](https://github.com/ericcames/aap.dailydemo.linux/blob/main/playbooks/create_instance_02.yml "create_instance_02.yml")
[2. DDL - Inventory Update](https://github.com/ericcames/aap.dailydemo.linux/blob/main/playbooks/add_inventory_03.yml "add_inventory_03.yml")
[3. DDL - Get Instance Info](https://github.com/ericcames/aap.dailydemo.linux/blob/main/playbooks/get_instance_info_04.yml "get_instance_info_04.yml")
[4. DDL - Red Hat Registration](https://github.com/ericcames/aap.dailydemo.linux/blob/main/playbooks/redhat_subscription_manager_05.yml "redhat_subscription_manager_05.yml")
[5. DDL - Configuration Management](https://github.com/ericcames/aap.dailydemo.linux/blob/main/playbooks/post_install_06.yml "post_install_06.yml")
[6. DDL - Application Install](https://github.com/ericcames/aap.dailydemo.linux/blob/main/playbooks/lamp_setup_08.yml "lamp_setup_08.yml")
[7. DDL - Website deployment](https://github.com/ericcames/aap.dailydemo.linux/blob/main/playbooks/website_deployment_09.yml "website_deployment_09.yml")
[Delete Daily Demo Linux clean everything up](https://github.com/ericcames/aap.dailydemo.linux/blob/main/playbooks/site_delete.yml "site_delete.yml")
ServiceNow
========
**The playbooks**
[DDL - Create a CMDB record](https://github.com/ericcames/aap.dailydemo.linux/blob/main/playbooks/servicenow/create_ci.yml "create_ci.yml")
[DDL - Create CMDB relationship](https://github.com/ericcames/aap.dailydemo.linux/blob/main/playbooks/servicenow/create_cmdb_relationship.yml "create_cmdb_relationship.yml")
[DDL - Create Incident](https://github.com/ericcames/aap.dailydemo.linux/blob/main/playbooks/servicenow/incident_create.yml "incident_create.yml")
[DDL - Update request ticket -*](https://github.com/ericcames/aap.dailydemo.linux/blob/main/playbooks/servicenow/update_sn_req_itm.yml "update_sn_req_itm.yml")
ServiceNow credential
Input configuration
```
fields:
- id: instance
type: string
label: Instance
- id: username
type: string
label: username
- id: password
type: string
label: password
secret: true
required:
- instance
- username
- password
```
Injector configuration
```
env:
SN_HOST: '{{instance}}'
SN_PASSWORD: '{{password}}'
SN_USERNAME: '{{username}}'
```
- ServiceNow setup
[Event-Driven Ansible Notification Service](https://github.com/shadowman-lab/Ansible-SNOW/tree/main/SNOWSetup#servicenowaap-integration-instructions-using-event-driven-ansible-notification-service "Event-Driven Ansible Notification Service")
[Event-Driven Ansible Event Streams](https://www.youtube.com/watch?v=P2NmuCIUiYg&t=811s "Event-Driven Ansible Event Streams")
- Automated incident management example
[Example Error Handling in support of incident enrichment](https://github.com/ericcames/aap.dailydemo.linux/blob/main/roles/vm/tasks/main.yml "Example Error Handling")
# Event Driven Ansible (EDA) Rulebook driving the workflow
- [EDA Rulebook](https://github.com/ericcames/event.driven.ansible/blob/main/rulebooks/servicenow/requested_item.yml "EDA Rulebook")
# The website



Day 2 - Common tasks
=========
[Linux Day 2 - Facts Cached](https://github.com/ericcames/aap.dailydemo.linux/blob/main/playbooks/gather_facts.yml "Linux Day 2 - Facts Cached")
[Linux Day 2 - file check](https://github.com/ericcames/aap.dailydemo.linux/blob/main/playbooks/day2filecheck.yml "Linux Day 2 - file check")
# Cockpit the Administrators GUI

# The command line; there's no place like home :-)

Looking for other Daily Demos?
=========
- [AAP Daily Demo Windows](https://github.com/ericcames/aap.dailydemo.windows "AAP Daily Demo Windows")
- [AAP Daily Demo Linux](https://github.com/ericcames/aap.dailydemo.linux "AAP Daily Demo Linux")
- [AAP Daily Demo F5](https://github.com/ericcames/aap.dailydemo.F5 "AAP Daily Demo F5")
- [AAP Daily Demo Panos](https://github.com/ericcames/aap.dailydemo.Panos "AAP Daily Demo Panos")
- [AAP Daily Demo Satellite](https://github.com/ericcames/aap.dailydemo.satellite "AAP Daily Demo Satellite")