can anyone help ?
I tried to implement the Ansible password generator enter link description here. The problem is that I don't see where the file for the passwords is stored/created after the (seemingly) successfully runs?
But when I remove the part 'credentials/' + item.0.client_username + then I am able to see the file created (where my ansible code is).
The documentation in the link does not say much.
At the bottom is also the content of the default file.
- name: Add Client
solace_client_username:
name: "{{ item.0.client_username }}"
msg_vpn: "{{ msg_vpn }}"
settings:
clientProfileName: "{{ item.1.clientProfileName }}"
aclProfileName: "{{ item.1.aclProfileName }}"
password: "{{ lookup('password', 'credentials/' + item.0.client_username + 'password.dat length=15 chars=ascii_letters,ascii_uppercase,ascii_lowercase,digits') }}"
with_subelements:
- "{{ clients }}"
- specs
default yml:
clients:
- client_username: export-john-doe
specs:
- aclProfileName: export-john-doe-profile
clientProfileName: default
enabled: true
- client_username: staging-john-doe
specs:
- aclProfileName: staging-john-doe-profile
clientProfileName: default
enabled: true