The method for salting and hashing the password is probably different in AIX, remember you's passing a hashed password and that's platform dependent. You will have to find a way to do that for AIX. There's some information in the following links

https://docs.ansible.com/ansible/latest/user_guide/playbooks_prompts.html

https://docs.ansible.com/ansible/latest/reference_appendices/faq.html#how-do-i-generate-crypted-passwords-for-the-user-module


Hugo G.


On 2/12/19 11:48 AM, [email protected] wrote:
Hi. i run my playbook to change user account password but this dont work , not change the password.
iam using aix 6 and 7.

this same playbook work fine on Linux.

this is my simple playbook to change password on a user acoount .

- name: Change account password
      hosts: "AIXQA"
      remote_user: ext00025
      tasks:
      - name: Changing user account password ext00025
        user: name=ext00025 update_password=always password=$1$SysAdm1n$W01N55jxDbwQf0JZsuKNn0

regards.

--
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] <mailto:[email protected]>. To post to this group, send email to [email protected] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/efd753c5-85f3-445a-a49f-0fd9dcbea52c%40googlegroups.com <https://groups.google.com/d/msgid/ansible-project/efd753c5-85f3-445a-a49f-0fd9dcbea52c%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--

Hugo F. gonzalez

Senior Consultant

Red Hat LATAM <https://www.redhat.com>

<https://red.ht/sig>

--
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/afad95fb-09ac-b846-8a00-2fd4fdfc9709%40redhat.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to