Skip to content

Commit 54f66b0

Browse files
committed
adding AAP instructions
1 parent ac345fc commit 54f66b0

4 files changed

+66
-27
lines changed

_deployments/aap_microshift_deployment.markdown

+1-24
Original file line numberDiff line numberDiff line change
@@ -10,27 +10,4 @@ image: /path/to/hero-image.jpg # Path to a hero image (optional)
1010

1111
## Prerequisites
1212
* AAP has been deployed on OpenShift
13-
14-
![20240221111710](https://i.imgur.com/Qr1GB97.png)
15-
![20240221111734](https://i.imgur.com/2B5Wckz.png)
16-
![20240221111755](https://i.imgur.com/cgMvq8u.jpeg)
17-
![20240221112012](https://i.imgur.com/OUymygl.png)
18-
19-
![20240221112251](https://i.imgur.com/PaUXYLY.png)
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 %}
13+
* AAP has been configured for Microshift deployments on AWS

_deployments/configure_aap.markdown

+61
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
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+
![20240221115730](https://i.imgur.com/bTuaOBp.png)
15+
![20240221111734](https://i.imgur.com/2B5Wckz.png)
16+
![20240221111755](https://i.imgur.com/cgMvq8u.jpeg)
17+
![20240221112012](https://i.imgur.com/OUymygl.png)
18+
19+
![20240221112251](https://i.imgur.com/PaUXYLY.png)
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+
![20240221125007](https://i.imgur.com/7kAxN3V.png)
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+
![20240221124855](https://i.imgur.com/3PUdxRK.png)
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+
![20240221125202](https://i.imgur.com/E37ENMW.png)
59+
60+
## Deploy our application on Microshift.
61+
[Read More](../../deployments/aap_microshift_deployment)

_deployments/devspaces_configuration.markdown

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,5 @@ $ oc apply -k https://github.com/tosin2013/sno-quickstarts/gitops/cluster-config
3333
![20240221113930](https://i.imgur.com/Q8fgCUy.png)
3434

3535

36-
## Deploy our application on Microshift.
37-
[Read More](deployments/aap_microshift_deployment)
36+
## Configure Ansible Automation Platform
37+
[Read More](../../deployments/configure_aap)

index.markdown

+2-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ We use Tekton Pipelines for continuous integration and continuous deployment. [R
4242

4343
<!-- Microshift Deployment -->
4444
### Microshift Deployment Instructions
45-
* Configure DevSpaces for Ansible Automation Platform Configuration. [Read More](deployments/devspaces_configuration)
45+
* Configure DevSpaces for Ansible Automation Platform Configuration. [Read More](deployments/devspaces_configuration)
46+
* Configure Ansible Automation Platform. [Read More](deployments/configure_aap)
4647
* Deploy our application on Microshift. [Read More](deployments/aap_microshift_deployment)
4748

4849
<!-- Demo Section

0 commit comments

Comments
 (0)