Skip to content

Commit

Permalink
Merge pull request #25 from mbaldessari/fix-empty-secrets
Browse files Browse the repository at this point in the history
Only call vault_load_parsed_secrets when we did parse secrets
  • Loading branch information
mbaldessari authored Jan 9, 2025
2 parents d22ea0d + 462f45c commit 1e4e2b7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions roles/vault_utils/tasks/push_parsed_secrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,6 @@
vault_load_parsed_secrets:
vault_policies: "{{ vault_policies }}"
parsed_secrets: "{{ parsed_secrets }}"
when:
- parsed_secrets is defined
- parsed_secrets | length > 0

0 comments on commit 1e4e2b7

Please sign in to comment.