Last active
August 10, 2022 10:53
Star
You must be signed in to star a gist
Controller As Code Pipeline Setup Example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
controller_projects: | |
- name: default_org_cac | |
organization: System | |
scm_branch: main | |
scm_type: git | |
scm_update_on_launch: true | |
scm_url: https://gitlab.example.com/default_org/default_org_cac.git | |
controller_inventories: | |
- name: default_org_inv | |
organization: System | |
controller_inventory_sources: | |
- name: default_org_is | |
organization: System | |
source: scm | |
source_project: default_org_cac | |
source_path: / | |
inventory: default_org_inv | |
overwrite: true | |
update_on_launch: true | |
controller_user_accounts: | |
- user: default_org_admin | |
is_superuser: false | |
password: "p@ssw0rd" | |
controller_roles: | |
- user: default_org_admin | |
organization: Default | |
role: admin | |
controller_credentials: | |
- name: default_controller_user | |
organization: System | |
credential_type: Red Hat Ansible Automation Platform | |
inputs: | |
host: "https://controller.example.com" | |
password: "p@ssw0rd" | |
username: "default_org_admin" | |
verify_ssl: false | |
controller_templates: | |
- name: default_org_cac | |
organization: System | |
project: controller_automator | |
inventory: default_org_inv | |
credentials: | |
- default_controller_user | |
playbook: playbook.yml | |
webhook_service: gitlab |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment