From 28e2480454d5a90683b104fa40cd2737c506cd24 Mon Sep 17 00:00:00 2001 From: willtome Date: Mon, 13 Mar 2023 10:58:13 -0400 Subject: [PATCH] use network ee --- .github/workflows/ansible-lint.yml | 6 +++--- network/setup.yml | 6 ++++++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ansible-lint.yml b/.github/workflows/ansible-lint.yml index f8f9722..7f4a071 100644 --- a/.github/workflows/ansible-lint.yml +++ b/.github/workflows/ansible-lint.yml @@ -4,10 +4,10 @@ on: [push, pull_request] env: ANSIBLE_GALAXY_SERVER_LIST: ah,galaxy - ANSIBLE_GALAXY_SERVER_AH_URL: ${{ vars.ANSIBLE_GALAXY_SERVER_AH_URL }} - ANSIBLE_GALAXY_SERVER_AH_AUTH_URL: ${{ vars.ANSIBLE_GALAXY_SERVER_AH_AUTH_URL }} + ANSIBLE_GALAXY_SERVER_AH_URL: https://console.redhat.com/api/automation-hub/ + ANSIBLE_GALAXY_SERVER_AH_AUTH_URL: https://sso.redhat.com/auth/realms/redhat-external/protocol/openid-connect/token ANSIBLE_GALAXY_SERVER_AH_TOKEN: ${{ secrets.ANSIBLE_GALAXY_SERVER_AH_TOKEN }} - ANSIBLE_GALAXY_SERVER_GALAXY_URL: ${{ vars.ANSIBLE_GALAXY_SERVER_GALAXY_URL }} + ANSIBLE_GALAXY_SERVER_GALAXY_URL: https://galaxy.ansible.com/ jobs: build: diff --git a/network/setup.yml b/network/setup.yml index 59d54bf..a8bd870 100644 --- a/network/setup.yml +++ b/network/setup.yml @@ -2,6 +2,7 @@ user_message: controller_components: + - execution_environments - projects - inventories - hosts @@ -9,6 +10,10 @@ controller_components: - inventory_source_update - job_templates +controller_execution_environments: + - name: Networking Execution Environment + image: quay.io/nleiva/ee-network-image + controller_projects: - name: Network Golden Configs organization: Default @@ -16,6 +21,7 @@ controller_projects: scm_url: https://github.com/nleiva/ansible-net-modules update_project: true wait: true + default_environment: Networking Execution Environment controller_inventories: - name: Network Inventory