https://github.com/ericcames/aap.as.code
ansible.platform.as.code
https://github.com/ericcames/aap.as.code
Last synced: 4 months ago
JSON representation
ansible.platform.as.code
- Host: GitHub
- URL: https://github.com/ericcames/aap.as.code
- Owner: ericcames
- License: mit
- Created: 2024-08-02T14:05:44.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-11T17:44:36.000Z (over 1 year ago)
- Last Synced: 2025-03-11T18:33:43.359Z (over 1 year ago)
- Size: 1.75 MB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
The Red Hat Demo Platform
=========
This repo is designed to work with the Ansible Product Demos catalog item available in the Red Hat Demo Platform. This repo will be used to load up setup templates to pull in other demos.
Looking for other Daily Demos?
=========
- [AAP Daily Demo Windows](https://github.com/ericcames/aap.dailydemo.windows "AAP Daily Demo Windows") - ready
- [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") - ready
- [AAP Daily Demo Panos](https://github.com/ericcames/aap.dailydemo.Panos "AAP Daily Demo Panos") - ready
- [AAP Daily Demo Satellite](https://github.com/ericcames/aap.dailydemo.satellite "AAP Daily Demo Satellite")
- [AAP Daily Demo hashicorp](https://github.com/ericcames/aap.dailydemo.hashicorp "AAP Daily Demo hashicorp") - ready
- [Datacenter 1](https://github.com/ericcames/demo.datacenter "Datacenter 1") - ready
# Ansible Product Demos

**Getting started**
1. [Get Automation Hub Token](https://console.redhat.com/ansible/automation-hub/token/ "Load Token")
2. [Create Service Account](https://github.com/ericcames/aap.as.code.starter.kit/blob/main/docs/Ansible%20Automation%20Platform%20Service%20Account.pdf "Service Account")
3. Ensure that we have a certified credential
- Name
```
Automation Hub - certified
```
- Credential type
```
Ansible Galaxy/Automation Hub API Token
```
- Galaxy Server URL
```
https://console.redhat.com/api/automation-hub/content/published/
```
- Auth Server URL
```
https://sso.redhat.com/auth/realms/redhat-external/protocol/openid-connect/token
```
- API Token

4. Ensure that we have a validated credential
- Name
```
Automation Hub - validated
```
- Credential type
```
Ansible Galaxy/Automation Hub API Token
```
- Galaxy Server URL
```
https://console.redhat.com/api/automation-hub/content/validated/
```
- Auth Server URL
```
https://sso.redhat.com/auth/realms/redhat-external/protocol/openid-connect/token
```
- API Token
5. Ensure the Galaxy credentials are related to the Default Organization

6. Create your vault credential
**There is a dependency to use the team default_password that allows the F5 demo to work**

7. Create your project

8. Create a remote vault with your secrets
[Remote Vault](https://raw.githubusercontent.com/ericcames/sourcefiles/refs/heads/main/vault_ames.yml "vault_ames.yml")
[Example Vault](https://github.com/ericcames/sourcefiles/blob/main/vault_example.yml "vault_example.yml")
9. Add your public ssh key to a public repo. Amazon works with RSA keys.
[Public SSH Key](https://raw.githubusercontent.com/ericcames/sourcefiles/refs/heads/main/id_rsa.pub "Public SSH Key")
10. Update my_windows_catalog_short_description: Ames AAP Windows AWS Daily Demo with the short description of your catalog item.

11. Create your job template
Template name
```
Setup - AAP - CAC
```

Extra variables
```
my_windows_catalog_short_description: Ames AAP Windows AWS Daily Demo
my_vault: Eric Ames
my_remote_vault: >-
https://raw.githubusercontent.com/ericcames/sourcefiles/refs/heads/main/vault_ames.yml
my_remote_ssh_pub_key: >-
https://raw.githubusercontent.com/ericcames/sourcefiles/refs/heads/main/id_rsa.pub
```
**ServiceNow EventDriven Ansible**
Check out the playbooks/files/config_as_code/eda* files to see how much of the SNOW EDA integration is done. To finish off the integration check out the docs directory for the AAP_Servicenow.pdf.
[AAP ServiceNow Setup](https://github.com/ericcames/aap.as.code/blob/main/docs/AAP_Servicenow.pdf "AAP ServiceNow setup")