This repository contains the Ansible and Terraform based deployer for an enterprise automation demonstration environment. The environment contains the following:
- Ansible Automation Platform
- Containerized installation, on Red Hat Enterprise Linux 9
- HashiCorp Vault Enterprise
- on RHEL 9
- HashiCorp Terraform Enterprise
- Containerized installation on Podman, on RHEL 9
- GitLab Community Edition (CE)
The purpose of this environment and deployer is to demonstrate the fully config-as-code implementation of a complete automation solution. All that is needed is for configuration to be setup in group_vars/all.yml based on the example provided.
- Create a
group_vars/all.ymlbased ongroup_vars/all.yml.example.- Specifically note the variables with
CHANGEMEorexamplein their values.
- Specifically note the variables with
- Configure your AWS credentials, and either export
AWS_ACCESS_KEY_IDandAWS_SECRET_ACCESS_KEYorAWS_PROFILEso that Ansible has access to your access keys. - Execute
ansible-playbook deploy-hosts.yml.- This creates 4 AWS hosts for the software.
- Execute
ansible-playbook install-hashi-vault.yml.- This deploys HashiCorp Vault and creates the SSL certificates for all hosts.
- It also creates the secrets engine and loads values into it for critical values.
- Execute
ansible-playbook install-aap.yml.- This deploys Ansible Automation Platform and configures the credentials, projects, and jobs needed to run the environment.
- Login to AAP using the
adminuser and the password that you specified ingroup_vars/all.yml. - Click on
Automation Executionand thenTemplates. - Click on the rocketship icon to the right of
RH-Hashi Demo - Install install-gitlab.yml, and monitor the installation for success.- AAP will now install and configure GitLab Community Edition, and return success or failure.
- Click on the rocketship icon to the right of
RH-Hashi Demo - Install install-terraform.yml, and monitor the installation for success.
With that, the environment is up and running.
- Ansible Automation Platform Self-Paced Labs - These interactive learning scenarios provide you with a pre-configured Ansible Automation Platform environment to experiment, learn, and see how the platform can help you solve real-world problems. The environment runs entirely in your browser, enabling you to learn more about our technology at your pace and time.
- The Ansible Playbook - Join the Tech Marketing Engineers online here!
- Red Hat Ansible - Ansiblefest sessions, product announcements and more!
- Workshop attendance website
- How to contribute
- How to use the AWS Lab Provisioner
- FAQ
- Release Process
