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.
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
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
The playbooks
1. DDL - VM Create
2. DDL - Inventory Update
3. DDL - Get Instance Info
4. DDL - Red Hat Registration
5. DDL - Configuration Management
6. DDL - Application Install
7. DDL - Website deployment
Delete Daily Demo Linux clean everything up
The playbooks
DDL - Create a CMDB record
DDL - Create CMDB relationship
DDL - Create Incident
DDL - Update request ticket -*
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
Event-Driven Ansible Event Streams
- Automated incident management example
Example Error Handling in support of incident enrichment









