fix 🐛: Update testvault.yml
This commit updates the `testvault.yml` file to include the `admin_user` variable, addressing a missing configuration element. Additionally, the debug message has been refined for improved clarity and troubleshooting. This ensures proper test execution and provides more informative feedback.
This commit is contained in:
@@ -2,11 +2,14 @@
|
||||
- name: Test secrets.yml
|
||||
hosts: localhost
|
||||
|
||||
vars:
|
||||
admin_user: joseadm
|
||||
|
||||
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 }}"
|
||||
msg: "The value of the secret is {{ test_password }}"
|
||||
|
||||
Reference in New Issue
Block a user