Admin_user password Ansible variable

As a total Ansible amateur here I can’t for the live of me figure out how to reference the following :

  - name: "{{ admin_user }}"
    **password**: OMMITTED

Quick and easy guidance very much appreciated - thank you :slight_smile:

1 Like

Depends on the use case, but you could just do vault_users[0].password

vault_users is data structure terms is an array of hashes (dictionaries).

1 Like