Skip to content

Commit 57136d4

Browse files
committed
feat: use pass for ansible-lint
1 parent 898b986 commit 57136d4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -370,13 +370,13 @@ jobs:
370370
371371
- name: Run ansible-lint for Ansible playbook
372372
if: steps.check_ansible_playbook.outputs.files_exists == 'true'
373+
env:
374+
VAULT_PASS: ${{ secrets.VAULT_PASS }}
373375
run: |
374376
find . -maxdepth 1 -name "*.yml" -not -name "requirements.yml" -not -name "hosts.yml" | xargs -n1 ansible-lint --strict --force-color
375377
376378
- name: Run ansible-playbook syntax-check for Ansible playbook
377379
if: steps.check_ansible_playbook.outputs.files_exists == 'true'
378-
env:
379-
VAULT_PASS: ${{ secrets.VAULT_PASS }}
380380
run: |
381381
echo "${VAULT_PASS}"
382382
find . -maxdepth 1 -name "*.yml" -not -name "requirements.yml" -not -name "hosts.yml" | xargs -n1 ansible-playbook --inventory="hosts.yml" --syntax-check

0 commit comments

Comments
 (0)