ansible/system
billwanjohi ff36edbb11 user: add expired state
ported from
https://github.com/ansible/ansible/pull/6303

It's very useful and routine to disable a *nix user.
I implemented expired instead of locked because this prevents any use of
the account, safer than just preventing password-based authentication.

I have tests [1], but since none of the suite came along with the core
modules, I'm unsure how to submit them.

[1] https://github.com/billwanjohi/ansible/blob/add_locked_state/test/integration/roles/test_user/tasks/main.yml
2014-09-29 22:42:28 +00:00
..
__init__.py package files 2014-09-26 11:05:47 -04:00
authorized_key.py file extensions! 2014-09-26 10:37:56 -04:00
cron.py file extensions! 2014-09-26 10:37:56 -04:00
group.py file extensions! 2014-09-26 10:37:56 -04:00
hostname.py file extensions! 2014-09-26 10:37:56 -04:00
mount.py file extensions! 2014-09-26 10:37:56 -04:00
ping.py file extensions! 2014-09-26 10:37:56 -04:00
seboolean.py file extensions! 2014-09-26 10:37:56 -04:00
selinux.py file extensions! 2014-09-26 10:37:56 -04:00
service.py file extensions! 2014-09-26 10:37:56 -04:00
setup.py file extensions! 2014-09-26 10:37:56 -04:00
sysctl.py file extensions! 2014-09-26 10:37:56 -04:00
user.py user: add expired state 2014-09-29 22:42:28 +00:00