other_vars.yml
The vars in this file control whats configured by default in a new repository, this should be at least an example of a project, inventory and a template.
This should be a working example, so people will trust what has been given as an example.
---
# put your vars in here and make sure the secrets in this file are ALWAYS vault encrypted
# the values in this file will be encrypted and used in the config files.
code_environment_vars:
all:
credentials:
- name: "{{ organization_short_name | upper }}_vault"
description: 'vault credential'
credential_type: Vault
encrypt: "{{ team_password }}"
- name: "{{ organization_short_name | upper }}_automation_hub_image_pull_secret"
description: 'Image pull secret'
credential_type: Container Registry
host: rhaap25.homelab
username: ee_pull
encrypt: <ee_pull_password>
verify_ssl: false
- name: "{{ organization_short_name | upper }}_gitlab"
description: 'SCM credential'
credential_type: Source Control
encrypt: | # Always vault encrypt this!
-----BEGIN OPENSSH PRIVATE KEY-----
-----END OPENSSH PRIVATE KEY-----
username: AAP_user
inventories:
- name: "{{ organization_short_name | upper }}_demo_inventory"
description: 'Demo inventory, functional'
organization: "{{ organization_long_name | upper }}"
inventory_sources:
- name: "{{ organization_short_name | upper }}_demo_inventory"
description: 'Just a demo, functional'
organization: "{{ organization_long_name | upper }}"
projects:
- name: "{{ organization_short_name | upper }}_demo_project"
description: Demo project
scm_url: git@gitlab.homelab:code-examples/dead_link_checker.git
organizations: []
roles: []
hosts: []
labels: []
teams:
- use: here
templates:
- use: here
dev:
credentials: []
inventories: []
inventory_sources: []
organizations: []
projects:
- name: "{{ organization_short_name | upper }}_demo_inventory"
description: inventory project
scm_url: git@gitlab.homelab:container_aap/inventory_base.git
hosts: []
labels: []
roles:
teama: "LDAP_{{ organization_short_name | upper }}_Admins"
teamd: "LDAP_{{ organization_short_name | upper }}_Developers"
teamo: "LDAP_{{ organization_short_name | upper }}_Operators"
teams: []
templates: []
test:
credentials: []
inventories: []
inventory_sources: []
organizations: []
projects: []
hosts: []
labels: []
roles: []
teams: []
templates: []
accp:
credentials: []
inventories: []
inventory_sources: []
organizations: []
projects: []
hosts: []
labels: []
roles: []
teams: []
templates: []
prod:
credentials: []
inventories: []
inventory_sources: []
organizations: []
organization_creds:
- _automation_hub_token_community
- _automation_hub_token_rh_certified
- _automation_hub_token_published
projects: []
hosts: []
labels: []
roles: []
teams: []
templates: []