{"id":20155284,"url":"https://github.com/redhat-cop/aap_configuration_template","last_synced_at":"2025-04-06T11:10:41.117Z","repository":{"id":56452654,"uuid":"209019752","full_name":"redhat-cop/aap_configuration_template","owner":"redhat-cop","description":"Ansible Automation Platform Configuration as Code examples template","archived":false,"fork":false,"pushed_at":"2025-03-18T16:13:13.000Z","size":188,"stargazers_count":60,"open_issues_count":4,"forks_count":37,"subscribers_count":32,"default_branch":"main","last_synced_at":"2025-03-30T10:08:13.145Z","etag":null,"topics":["ansible","automation","automation-cop","hacktoberfest"],"latest_commit_sha":null,"homepage":"","language":"YAML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/redhat-cop.png","metadata":{"files":{"readme":"README.md","changelog":"changelogs/changelog.yaml","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-17T09:59:57.000Z","updated_at":"2025-03-18T16:13:19.000Z","dependencies_parsed_at":"2023-01-23T15:45:20.166Z","dependency_job_id":"a1f26fac-fc07-4da3-98e2-63bdf4eb60e5","html_url":"https://github.com/redhat-cop/aap_configuration_template","commit_stats":null,"previous_names":[],"tags_count":1,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redhat-cop%2Faap_configuration_template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redhat-cop%2Faap_configuration_template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redhat-cop%2Faap_configuration_template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redhat-cop%2Faap_configuration_template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/redhat-cop","download_url":"https://codeload.github.com/redhat-cop/aap_configuration_template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247471521,"owners_count":20944158,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","automation","automation-cop","hacktoberfest"],"created_at":"2024-11-13T23:31:17.950Z","updated_at":"2025-04-06T11:10:41.091Z","avatar_url":"https://github.com/redhat-cop.png","language":"YAML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ansible Automation Platform Configuration as Code examples template\n\nThis is a combination of all the Red Hat CoP Config as Code collections to deploy and configure AAP. This is built for multi environment (meaning multiple AAP instances/clusters). If you want an object across all environments put it in the correct file/list under the all group. If there is a specific object for only one environment then put it under that environments folder[^1].\n\n[^1]: If you only have/want one environment you could delete dev/test/prod folders in group_vars and remove all the _all added to vars in all group. Also if you want to have each team/group maintain their own org/code in their own repo, see the repo_per_org branch.\n\nYou will need to replace the vault files with your own with these variables:\n\n```yaml\n---\ncloud_token: 'this is the one from console.redhat.com'\noffline_token: 'this is the one linked below about api token'\nrh_username: 'redhat user login (this is used to attach your subs to controller)'\nrh_password: 'password for redhat account'\nroot_machine_pass: 'password for root user on builder (if not root user more changes will need to be made)'\nah_token_password: 'this will create and use this password can be generated'\ncontroller_api_user_pass: 'this will create and use this password can be generated'\ncontroller_pass: 'admin account pass for controller, if none is given it will default to Password1234!'\nah_pass: 'hub admin account pass, if none is given it will default to Password1234!'\nvault_pass: 'the password to decrypt this vault'\n...\n```\n\n**_NOTE:_** Do not forget to update your inventory files replacing the `HERE` lines, if you do not have a `builder` server you can use `hub` for this. Also update `scm_url` in `group_vars/all/projects.yml` with your git URL.\n\n## Getting Help\n\nWe are on the Ansible Forums and Matrix, if you want to discuss something, ask for help, or participate in the community, please use the #infra-config-as-code tag on the fourm, or post to the chat in Matrix.\n\n[Ansible Forums](https://forum.ansible.com/tag/infra-config-as-code)\n\n[Matrix Chat Room](https://matrix.to/#/#aap_config_as_code:ansible.com)\n\n## Requirements\n\nThe awx.awx or ansible.controller collections MUST be installed in order for this collection to work. It is recommended they be invoked in the playbook in the following way.\n\n```yaml\n---\n- name: Playbook to configure ansible controller post installation\n  hosts: localhost\n  connection: local\n  vars:\n    aap_validate_certs: false\n  collections:\n    - awx.awx\n```\n\n## Links to Ansible Automation Platform Collections\n\n|                                      Collection Name                                         |                 Purpose                  |\n|:--------------------------------------------------------------------------------------------:|:----------------------------------------:|\n| [awx.awx/Ansible.controller repo](https://github.com/ansible/awx/tree/devel/awx_collection) |   Automation controller modules          |\n|        [Ansible Hub Configuration](https://github.com/ansible/automation_hub_collection)     |       Automation hub configuration       |\n\n## Links to other Validated Configuration Collections for Ansible Automation Platform\n\n|                                      Collection Name                                       |                 Purpose                  |\n|:------------------------------------------------------------------------------------------:|:----------------------------------------:|\n| [Controller Configuration](https://github.com/redhat-cop/controller_configuration) |   Automation controller configuration    |\n|             [EE Utilities](https://github.com/redhat-cop/ee_utilities)             | Execution Environment creation utilities |\n|     [AAP installation Utilities](https://github.com/redhat-cop/aap_utilities)      |  Ansible Automation Platform Utilities   |\n|   [AAP Configuration Template](https://github.com/redhat-cop/aap_configuration_template)   |  Configuration Template for this suite   |\n\n## AAP config\n\n`ansible-playbook -i inventory_dev.yml -l dev playbooks/aap_config.yml --ask-vault-pass`\n\n## custom ee\n\ncurrently doesn't work in CLI, expected to be run in Controller\n\n## custom collections\n\ncurrently doesn't work in CLI, expected to be run in Controller\n\n## aap utilities (aap installer)\n\n`ansible-playbook -i inventory_dev.yml playbooks/install_aap.yml --ask-vault-pass`\n\nAcquire your token at [redhat api](https://access.redhat.com/management/api/) see [access article](https://access.redhat.com/articles/3626371)\n\n## install and configure\n\n`ansible-playbook -i inventory_dev.yml -l dev playbooks/install_configure.yml --ask-vault-pass -e \"env=dev\"`\n\nAcquire your token at [redhat api](https://access.redhat.com/management/api/) see [access article](https://access.redhat.com/articles/3626371)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredhat-cop%2Faap_configuration_template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fredhat-cop%2Faap_configuration_template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredhat-cop%2Faap_configuration_template/lists"}