|
| 1 | +--- |
| 2 | +# This is the Front Matter section where you can set variables used by Jekyll |
| 3 | +layout: post |
| 4 | +title: "Configure Ansible Automation Platform" |
| 5 | +description: "Revolutionizing Nut Quality Control with Edge Computer Vision using YOLO V5 and Microshift" |
| 6 | +image: /path/to/hero-image.jpg # Path to a hero image (optional) |
| 7 | +--- |
| 8 | + |
| 9 | +# Configure Ansible Automation Platform |
| 10 | + |
| 11 | +## Prerequisites |
| 12 | +* AAP has been deployed on OpenShift |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | +### Optional Install OpenShift Devspaces |
| 22 | +* Configure DevSpaces for Ansible Automation Platform Configuration. [Read More](../../deployments/devspaces_configuration) |
| 23 | + |
| 24 | + |
| 25 | +## Configure AAP |
| 26 | +If you did not install the OpenShift Devspaces Operator, you can configure the AAP manually from your laptop using the [ee_definition_config](https://github.com/tosin2013/ee_definition_config) repo. |
| 27 | + |
| 28 | +### Requirements install collections |
| 29 | +{% highlight bash %} |
| 30 | +ansible-galaxy collection install -r collections/requirements.yml |
| 31 | +{% endhighlight %} |
| 32 | + |
| 33 | +### Edit the secret-vars-microshift-ansible-aws-roles.yml |
| 34 | +{% highlight bash %} |
| 35 | +vim secret-vars-microshift-ansible-aws-roles.yml |
| 36 | +{% endhighlight %} |
| 37 | + |
| 38 | +### Load Execution Environment for Ansible AWS Role |
| 39 | +{% highlight bash %} |
| 40 | +export USERNAME=takinosh |
| 41 | +export TAG=latest |
| 42 | +ansible-playbook push_to_controller.yaml -e "ee_name_var=ansible-aws-roles" -e "set_ee_registry_dest_var=quay.io/${USERNAME}/ansible-aws-roles:${TAG}" -e "@secret-vars-microshift-ansible-aws-roles.yml" |
| 43 | +{% endhighlight %} |
| 44 | + |
| 45 | + |
| 46 | +## Configure Controller for Microshift Deployments on AWS |
| 47 | +{% highlight bash %} |
| 48 | +ansible-playbook microshift-ansible-aws-roles.yaml -e "@secret-vars-microshift-ansible-aws-roles.yml" -e "@projects/ansible-aws-roles/microshift-ansible-aws-vars.yaml" -vvv |
| 49 | +{% endhighlight %} |
| 50 | + |
| 51 | + |
| 52 | +## Load Execution Environment for edge.microshft collection |
| 53 | +{% highlight bash %} |
| 54 | +export USERNAME=takinosh |
| 55 | +export TAG=latest |
| 56 | +ansible-playbook push_to_controller.yaml -e "ee_name_var=edge.microshift" -e "set_ee_registry_dest_var=quay.io/${USERNAME}/edge.microshift:${TAG}" -e "@secret-vars-microshift-ansible-aws-roles.yml" |
| 57 | +{% endhighlight %} |
| 58 | + |
| 59 | + |
| 60 | +## Deploy our application on Microshift. |
| 61 | +[Read More](../../deployments/aap_microshift_deployment) |
0 commit comments