docs(role): Prefix vars with role name

This commit is contained in:
2022-07-23 22:34:21 +02:00
parent cbe8d7094b
commit 26cee49e98
2 changed files with 24 additions and 26 deletions

View File

@@ -1,7 +1,7 @@
- name: 'If a secret is missing: Fail progress'
failed_when: inc_fail_check not in inc_vault_data
failed_when: vault_check_fail_check not in vault_check_inc_vault_data
loop_control:
loop_var: 'inc_fail_check'
loop: '{{ fail_check }}'
loop_var: 'vault_check_fail_check'
loop: '{{ vault_check_fail_checks }}'
debug:
msg: 'Vault has {% if inc_fail_check not in inc_vault_data %}no {% endif %}secret ''{{ inc_fail_check }}'' at ''{{ vault_base_path }}'''
msg: 'Vault has {% if vault_check_fail_check not in vault_check_inc_vault_data %}no {% endif %}secret ''{{ vault_check_fail_check }}'' at ''{{ vault_check_base_path }}'''