let's said I have a yaml file like
centers.yml
centers:
- center_id: ABC123
center_password: 123456789
- center_id: 123ABC
center_password: ""
now I want to read the centers.yml , and update center_password with
pwgen(8) if center_password is null and write back to centers.yml
How should I do the job ?
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/19fcdb4b-f04b-4f36-af5e-27a1977bea06n%40googlegroups.com.