diff --git a/.github/workflows/prod-deploy.yml b/.github/workflows/prod-deploy.yml index 12cc1117..145c260b 100644 --- a/.github/workflows/prod-deploy.yml +++ b/.github/workflows/prod-deploy.yml @@ -14,7 +14,6 @@ concurrency: env: COB_DATAPIPELINE_BRANCH: ${{ github.ref_name }} - ANSIBLE_VAULT_PASSWORD: ${{ secrets.ANSIBLE_VAULT_PASSWORD }} jobs: prod-deploy: @@ -51,4 +50,4 @@ jobs: working-directory: ansible-playbook-airflow run: | pipenv run ansible-galaxy install -r requirements.yml - pipenv run ansible-playbook -i inventory/prod playbook.yml --tags "jumphost,role::airflow::dags" --vault-id @env:ANSIBLE_VAULT_PASSWORD -e 'ansible_ssh_port=9229' -e cob_datapipeline_branch=$COB_DATAPIPELINE_BRANCH + pipenv run ansible-playbook -i inventory/prod playbook.yml --tags "jumphost,role::airflow::dags" --vault-id ${{ secrets.ANSIBLE_VAULT_PASSWORD }} -e 'ansible_ssh_port=9229' -e cob_datapipeline_branch=$COB_DATAPIPELINE_BRANCH diff --git a/.github/workflows/qa-deploy.yml b/.github/workflows/qa-deploy.yml index c51a7fd0..5c798463 100644 --- a/.github/workflows/qa-deploy.yml +++ b/.github/workflows/qa-deploy.yml @@ -15,9 +15,6 @@ concurrency: jobs: qa-deploy: runs-on: ubuntu-latest - env: - ANSIBLE_VAULT_PASSWORD: ${{ secrets.ANSIBLE_VAULT_PASSWORD }} - timeout-minutes: 30 strategy: matrix: @@ -50,4 +47,4 @@ jobs: working-directory: ansible-playbook-airflow run: | pipenv run ansible-galaxy install -r requirements.yml - pipenv run ansible-playbook -i inventory/qa playbook.yml --tags "jumphost,role::airflow::dags" --vault-id @env:ANSIBLE_VAULT_PASSWORD -e 'ansible_ssh_port=9229' + pipenv run ansible-playbook -i inventory/qa playbook.yml --tags "jumphost,role::airflow::dags" --vault-id ${{ secrets.ANSIBLE_VAULT_PASSWORD }} -e 'ansible_ssh_port=9229'