Please see this module and it’s examples to accomplish your task https://docs.ansible.com/ansible/latest/modules/user_module.html
On Thu, Feb 27, 2020 at 01:52 Rishiv Chauhan <[email protected]> wrote: > Please help, > > I wanted to create a yml script for the password never expire for a > particuler user. > lets say, need a yml script that run through ansible server and set the > password never expire for a particular user. > > > -- > You received this message because you are subscribed to the Google Groups > "Ansible Development" 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-devel/4fbd9c4f-e7f7-4f97-b460-94e1f5197693%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-devel/4fbd9c4f-e7f7-4f97-b460-94e1f5197693%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Ansible Development" 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-devel/CA%2Bs1_jQfY6vjDeoSzWE983UuzrmuY3%2BbufPiRx12GeRtVOxrNA%40mail.gmail.com.
