Skip to content

ericcames/aap.as.code.starter.kit

Repository files navigation

The Ansible Automation Platform Starter Kit

Getting started

  1. Get Automation Hub Token
  2. Create 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

alt text

  1. 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
  2. Ensure the Galaxy credentials are related to the Default Organization alt text

  3. Create your vault credential alt text

  4. Create your project alt text

  5. Create a remote vault with your secrets

Remote Vault
Example Vault

  1. Create your ansible automation platform credential alt text

  2. Create your job template alt text

Template name

Setup - AAP - CAC

Extra variables

my_remote_vault: >-
  https://raw.githubusercontent.com/ericcames/sourcefiles/refs/heads/main/starterkit_vault.yml
  1. Launch the job template

About

A repo to get you started with Configuration As Code. This is a must have for all Ansible Automation Engineers.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages