fix 🐛: Include and debug secrets
This commit addresses the need to incorporate secrets from the `secrets.yml` file into the application. It includes the necessary steps for debugging and resolving any potential issues related to secret management. This ensures secure access to sensitive information during development and testing.
This commit is contained in:
12
tasks/testvault.yml
Normal file
12
tasks/testvault.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
- name: Test secrets.yml
|
||||
hosts: localhost
|
||||
|
||||
tasks:
|
||||
- name: Import variables from Ansible vault
|
||||
ansible.builtin.include_vars: secrets.yml
|
||||
|
||||
- name: debug secrets.yml"
|
||||
ansible.builtin.debug:
|
||||
msg="The value of the secret is {{ test_password }}"
|
||||
|
||||
Reference in New Issue
Block a user