But I'm using a hashing filter inside the platbook for that -
password_hash('sha512')
>From your link - "Use the integrated Hashing filters to generate a
hashed version of a password. You shouldn’t put plaintext passwords in
your playbook or host_vars; instead, use Using Vault in playbooks to
encrypt sensitive data."I don't know Ansible too much but the error "skipping: no hosts matched" doesn't seem related to the hashing issue What intrigues me is that I specified the hostname ansible2, which can be found in /etc/hosts On Fri, Jan 25, 2019 at 9:24 PM Hugo Gonzalez <[email protected]> wrote: > > The password field must be hashed for all unices. You’re using plaintext for > that. The ansible docs: > > Optionally set the user's password to this crypted value. > On macOS systems, this value has to be cleartext. Beware of security issues. > To create a disabled account or Linux systems, set this to '!' or '*'. > See > https://docs.ansible.com/ansible/faq.html#how-do-i-generate-crypted-passwords-for-the-user-module > for details on various ways to generate these password values. > > Hugo > > > -- > 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 post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/a12d21b4-d094-4ce1-6e72-d8bc37e64d7e%40redhat.com. > For more options, visit https://groups.google.com/d/optout. -- 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 post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAOK917QyGDnbMQPMfZeS0xpDHbE9t9yv81SbjmLk7GBMd%3DSxog%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
