2017-05-10 15:19:11 +02:00
|
|
|
# Test code for the user module.
|
|
|
|
# (c) 2017, James Tanner <tanner.jc@gmail.com>
|
|
|
|
|
|
|
|
# This file is part of Ansible
|
|
|
|
#
|
|
|
|
# Ansible is free software: you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
#
|
|
|
|
# Ansible is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
#
|
|
|
|
|
2020-08-07 21:28:10 +02:00
|
|
|
- name: skip broken distros
|
|
|
|
meta: end_host
|
|
|
|
when: ansible_distribution == 'Alpine'
|
|
|
|
|
2021-01-11 17:42:35 +01:00
|
|
|
- import_tasks: test_create_user.yml
|
|
|
|
- import_tasks: test_create_system_user.yml
|
|
|
|
- import_tasks: test_create_user_uid.yml
|
|
|
|
- import_tasks: test_create_user_password.yml
|
|
|
|
- import_tasks: test_create_user_home.yml
|
|
|
|
- import_tasks: test_remove_user.yml
|
|
|
|
- import_tasks: test_no_home_fallback.yml
|
|
|
|
- import_tasks: test_expires.yml
|
|
|
|
- import_tasks: test_expires_new_account.yml
|
|
|
|
- import_tasks: test_expires_new_account_epoch_negative.yml
|
2021-02-09 22:41:15 +01:00
|
|
|
- import_tasks: test_expires_min_max.yml
|
2021-01-11 17:42:35 +01:00
|
|
|
- import_tasks: test_shadow_backup.yml
|
|
|
|
- import_tasks: test_ssh_key_passphrase.yml
|
|
|
|
- import_tasks: test_password_lock.yml
|
|
|
|
- import_tasks: test_password_lock_new_user.yml
|
|
|
|
- import_tasks: test_local.yml
|
2021-04-20 18:01:56 +02:00
|
|
|
- import_tasks: test_umask.yml
|
|
|
|
when: ansible_facts.system == 'Linux'
|