Fix error related to missing .vault_password file in pipeline (again)
This commit is contained in:
parent
efbef06b77
commit
39e6f70388
@ -34,8 +34,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
chmod +x setup_venv.sh
|
chmod +x setup_venv.sh
|
||||||
./setup_venv.sh
|
./setup_venv.sh
|
||||||
|
- name: Save vault password
|
||||||
|
run: echo "${{ secrets.ANSIBLE_VAULT_PASSWORD }}" > .vault_password
|
||||||
- name: Run ansible-lint
|
- name: Run ansible-lint
|
||||||
run: |
|
run: |
|
||||||
touch .vault_password
|
|
||||||
source ./venv/bin/activate
|
source ./venv/bin/activate
|
||||||
PY_COLORS=1 ANSIBLE_FORCE_COLOR=1 ANSIBLE_CONFIG=./ansible.cfg ansible-lint --exclude=inventory
|
PY_COLORS=1 ANSIBLE_FORCE_COLOR=1 ANSIBLE_CONFIG=./ansible.cfg ansible-lint --exclude=inventory
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user