diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index a03d8d8..29765ee 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -15,8 +15,6 @@ jobs: uses: actions/checkout@v4 noc: runs-on: kb-dev-jumphost-p1 - concurrency: - group: ansible-playbook needs: checkout steps: - name: Execute Ansible Playbook (NOC) @@ -30,8 +28,6 @@ jobs: devops: runs-on: kb-dev-jumphost-p1 - concurrency: - group: ansible-playbook needs: checkout steps: - name: Execute Ansible Playbook (DevOps) @@ -45,8 +41,6 @@ jobs: engg: runs-on: kb-dev-jumphost-p1 - concurrency: - group: ansible-playbook needs: checkout steps: - name: Execute Ansible Playbook (Engeneering) @@ -60,8 +54,6 @@ jobs: sa: runs-on: kb-dev-jumphost-p1 - concurrency: - group: ansible-playbook needs: checkout steps: - name: Execute Ansible Playbook (SA) diff --git a/.github/workflows/qa.yml b/.github/workflows/qa.yml index 00b2b22..dd0efcd 100644 --- a/.github/workflows/qa.yml +++ b/.github/workflows/qa.yml @@ -8,12 +8,15 @@ on: paths: users/*.yml jobs: - build: + checkout: runs-on: kb-qa-jumphost-p1 steps: - name: Checkout code uses: actions/checkout@v4 - + noc: + runs-on: kb-qa-jumphost-p1 + needs: checkout + steps: - name: Execute Ansible Playbook (NOC) uses: dawidd6/action-ansible-playbook@v2.8.0 with: @@ -23,6 +26,10 @@ jobs: --extra-vars "@${{ github.workspace }}/users/noc.yml" --inventory-file "${{ github.workspace }}/hosts/qa" + devops: + runs-on: kb-qa-jumphost-p1 + needs: checkout + steps: - name: Execute Ansible Playbook (DevOps) uses: dawidd6/action-ansible-playbook@v2.8.0 with: @@ -32,6 +39,10 @@ jobs: --extra-vars "@${{ github.workspace }}/users/devops.yml" --inventory-file "${{ github.workspace }}/hosts/qa" + engg: + runs-on: kb-qa-jumphost-p1 + needs: checkout + steps: - name: Execute Ansible Playbook (Engeneering) uses: dawidd6/action-ansible-playbook@v2.8.0 with: @@ -41,6 +52,10 @@ jobs: --extra-vars "@${{ github.workspace }}/users/engg.yml" --inventory-file "${{ github.workspace }}/hosts/qa" + sa: + runs-on: kb-qa-jumphost-p1 + needs: checkout + steps: - name: Execute Ansible Playbook (SA) uses: dawidd6/action-ansible-playbook@v2.8.0 with: diff --git a/.github/workflows/uat.yml b/.github/workflows/uat.yml index 61360c7..1562e70 100644 --- a/.github/workflows/uat.yml +++ b/.github/workflows/uat.yml @@ -8,12 +8,15 @@ on: paths: users/*.yml jobs: - build: + checkout: runs-on: kb-uat-jumphost-p1 steps: - name: Checkout code uses: actions/checkout@v4 - + noc: + runs-on: kb-uat-jumphost-p1 + needs: checkout + steps: - name: Execute Ansible Playbook (NOC) uses: dawidd6/action-ansible-playbook@v2.8.0 with: @@ -23,6 +26,10 @@ jobs: --extra-vars "@${{ github.workspace }}/users/noc.yml" --inventory-file "${{ github.workspace }}/hosts/uat" + devops: + runs-on: kb-uat-jumphost-p1 + needs: checkout + steps: - name: Execute Ansible Playbook (DevOps) uses: dawidd6/action-ansible-playbook@v2.8.0 with: @@ -32,6 +39,10 @@ jobs: --extra-vars "@${{ github.workspace }}/users/devops.yml" --inventory-file "${{ github.workspace }}/hosts/uat" + engg: + runs-on: kb-uat-jumphost-p1 + needs: checkout + steps: - name: Execute Ansible Playbook (Engeneering) uses: dawidd6/action-ansible-playbook@v2.8.0 with: @@ -41,6 +52,10 @@ jobs: --extra-vars "@${{ github.workspace }}/users/engg.yml" --inventory-file "${{ github.workspace }}/hosts/uat" + sa: + runs-on: kb-uat-jumphost-p1 + needs: checkout + steps: - name: Execute Ansible Playbook (SA) uses: dawidd6/action-ansible-playbook@v2.8.0 with: