Ansible playbook to set user password expiration time. Uses getent
and chage
, works on Linux. chage
is executed only if user password expiration time differs from required.
If this code is useful for you - don't forget to put a star on it's github repo.