Hello my dear friend. I really appreciate what you did. I'm so glad and I hope could help in this group as soon as learn.. Thanks you so much for your kindly help.
Please let me know if I can help with anything. Regards El 1 ago. 2017 2:43 AM, "Cev Ing" <[email protected]> escribió: > > > Am Montag, 31. Juli 2017 23:10:01 UTC+2 schrieb Daniel Cure: >> >> what is the best method for changing root password in linux redhat env. >> >> > Probably the user module. > > http://docs.ansible.com/ansible/latest/user_module.html > > But the problem with the user module is, that it is quite hard the debug. > > You can try this: > > - name: Update Root password > user: > name: root > uid: 0 > gid: 0 > shell: /bin/bash > password: "{{root_password_hash}}" > home: /root > update_password: always > state: present > > Set the variable root_passoword_hash in a vault file. > http://docs.ansible.com/ansible/latest/playbooks_vault.html > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Ansible Project" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/ansible-project/uJOQJkCSFrE/unsubscribe. > To unsubscribe from this group and all its topics, 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/77af90bb-34d9-4644-95e3-f6782b065d71%40googlegroups. > com > <https://groups.google.com/d/msgid/ansible-project/77af90bb-34d9-4644-95e3-f6782b065d71%40googlegroups.com?utm_medium=email&utm_source=footer> > . > 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/CAHFsfdnTvKcWdaWtbAYVmmbXL7QSbPtmAP%2B%3DwTNv5-NnpedNJQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
