From 7544965ef2e2405684eef96c08b2890547caa9b4 Mon Sep 17 00:00:00 2001 From: Matthew Tighe Date: Mon, 6 Nov 2023 13:32:27 -0800 Subject: [PATCH 1/5] Update README.md Updated readme for 22.8-2 --- README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 5030428..14e19ce 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,11 @@ -# NITA Ansible 23.p +# NITA Ansible 22.8-2 -Welcome to NITA 23.p pre-release. This is a testing release that includes scripts for building ansible execution environment for use with AWX. The execution environment is based on the nita-ansible docker build. Also included is a script to install AWX. See the individual readme files under the ansible-ee and awx folders for more information. +Welcome to NITA 22.8-2. This is an update release that includes scripts for building ansible execution environment for use with AWX. The execution environment is based on the nita-ansible docker build. Also included is a script to install AWX. See the individual readme files under the ansible-ee and awx folders for more information. -Packages built from this branch will be nita-*-22.p-x where x is the packaging release. This branch also contains patches from other branches or minor modifications as required to support the stability and usability of the release. There are also some backwards compatibility packages here for ansible and robot that allow projects written for NITA 3.0.7 to work without having to make any changes. -Note that NITA 23.p should be backward compatible with NITA 22.8 and 21.7 projects, provided the correct ansible and robot containers are installed. However, see the note below about ansible 2.10 changes. +Note that NITA 22.8-2 should be backward compatible with NITA 22.8 and 21.7 projects, provided the correct ansible and robot containers are installed. However, see the note below about ansible 2.10 changes. # Copyright From 17cad1fc19b4ef8d03e4dabba88c9b1190fd6023 Mon Sep 17 00:00:00 2001 From: Matthew Tighe Date: Mon, 6 Nov 2023 13:35:14 -0800 Subject: [PATCH 2/5] Update README.md Updated for 22.8-2 --- ansible-ee/README.md | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/ansible-ee/README.md b/ansible-ee/README.md index d0dea1d..d5379a3 100644 --- a/ansible-ee/README.md +++ b/ansible-ee/README.md @@ -1,11 +1,6 @@

AWX Execution Environment

-Files located in this directory are used to create ansible execution environment for AWX/Ansible Tower. the ```build-container.sh``` script calls ansible-builder, which needs to be installed using pip (see https://ansible-builder.readthedocs.io/en/stable/installation/). Ansible-builder requires python3.8 or later to execute. [Ansible](https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html) and [Docker](https://docs.docker.com/engine/install/ubuntu/) also need to be installed. You can also build the container directly by issuing the following commands: - -``` -cd context -docker build --tag "juniper/nita-ansible-ee:22.9" . -``` +Files located in this directory are used to create ansible execution environment for AWX/Ansible Tower. the ```build-ee-container.sh``` script calls ansible-builder, which needs to be installed using pip (see https://ansible-builder.readthedocs.io/en/stable/installation/). Ansible-builder requires python3.8 or later to execute. [Ansible](https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html) and [Docker](https://docs.docker.com/engine/install/ubuntu/) also need to be installed. AWX requires ansible EEs to be pulled from a repository. For testing purposes you can setup a local repository. See the instructions at https://www.docker.com/blog/how-to-use-your-own-registry-2/. After building the container, you can add a local repository as follows: @@ -24,14 +19,9 @@ After this simply define the localhost:5000/ansible-ee in your definition for an + The file ``bindep.txt`` and related configuration in ``nita-ansible-ee.yml`` are here for completeness. AWX documentation and some blogs indicated it is required although container seemed to build and operate fine without it. + This container is being tested against a version of the ebgp-wan example from the NITA project. Current files for the AWX test version can be found at https://github.com/wildsubnet/awx-test. There are certain incompatiabilities between NITA environment and AWX need to be worked out (see todo list below) -## To-Do - -See https://github.com/users/wildsubnet/projects/1 for current list. Issues can be found at https://github.com/wildsubnet/nita-awx/issues - - ## AWX Screenshots -How the NITA example data is being loaded into AWX for testing (as of September 22, 2022). +How the NITA example data is being loaded into AWX for testing. ### Template image From 7b406f7bfa02206dea3db353320704bd311170be Mon Sep 17 00:00:00 2001 From: Matthew Tighe Date: Mon, 6 Nov 2023 13:38:36 -0800 Subject: [PATCH 3/5] Update README.md --- awx/README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/awx/README.md b/awx/README.md index c60a852..c89ea70 100644 --- a/awx/README.md +++ b/awx/README.md @@ -1,6 +1,6 @@ # nita-awx -This is a work in progress and represents the files used to create an AWX instance running along side an existing NITA (docker based) install. This is being used to test the AWX execution environment. AWX requires kubernetes. +This is being used to test the AWX execution environment. AWX requires kubernetes. ## Folders @@ -21,6 +21,8 @@ kubectl get nodes kubectl version --short ``` +Note: k8s is less forgiving of implied storage requirements and may require additional storage setup for AWX to start properly. + 2. Install AWX using the provided script as show below. This does a few things in addition to pulling a specific version of AWX. The script creates a namespace in k8s called ```awx```. It also creates the pods required to run AWX and spins up a service running on default ports for AWX. ``` @@ -54,5 +56,8 @@ kubectl delete serviceaccount awx-operator-controller-manager kubectl delete rolebinding awx-operator-awx-manager-rolebinding kubectl delete role awx-operator-awx-manager-role ``` - + + ## To-do + +Need to update installer for k8s rather than k3s and still need integration between nita webapp and AWX. From 60adff760905a9bd3f65de552b0cbbcb82163eac Mon Sep 17 00:00:00 2001 From: Matthew Tighe Date: Mon, 6 Nov 2023 13:39:26 -0800 Subject: [PATCH 4/5] Update build_ansible_container.sh Updated to 22.8-2 --- build_ansible_container.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_ansible_container.sh b/build_ansible_container.sh index a6cc922..748e2c7 100755 --- a/build_ansible_container.sh +++ b/build_ansible_container.sh @@ -13,4 +13,4 @@ # # ******************************************************** -docker build -t juniper/nita-ansible:22.8-1 . +docker build -t juniper/nita-ansible:22.8-2 . From 623405a93fd37bdeafba5191532bd41ce4b053c4 Mon Sep 17 00:00:00 2001 From: Matthew Tighe Date: Mon, 6 Nov 2023 13:52:42 -0800 Subject: [PATCH 5/5] Update build_ee_container.sh Updated container tag --- build_ee_container.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_ee_container.sh b/build_ee_container.sh index 417f954..14d8083 100755 --- a/build_ee_container.sh +++ b/build_ee_container.sh @@ -15,4 +15,4 @@ cd ansible-ee cp -R ../network-roles context/ -ansible-builder build --tag "juniper/nita-ansible-ee:23.6" --container-runtime docker -f nita-ansible-ee.yml +ansible-builder build --tag "juniper/nita-ansible-ee:22.8-2" --container-runtime docker -f nita-ansible-ee.yml