2020-03-09 10:11:07 +01:00
|
|
|
---
|
2020-09-25 09:04:59 +02:00
|
|
|
####################################################################
|
|
|
|
# WARNING: These are designed specifically for Ansible tests #
|
|
|
|
# and should not be used as examples of how to write Ansible roles #
|
|
|
|
####################################################################
|
|
|
|
|
2020-03-09 10:11:07 +01:00
|
|
|
- block:
|
|
|
|
- name: Create test user
|
|
|
|
user:
|
|
|
|
name: xfsquotauser
|
|
|
|
state: present
|
|
|
|
become: yes
|
|
|
|
|
|
|
|
- include_tasks: uquota.yml
|
|
|
|
- include_tasks: gquota.yml
|
|
|
|
- include_tasks: pquota.yml
|
|
|
|
|
|
|
|
always:
|
|
|
|
- name: cleanup test user
|
|
|
|
user:
|
|
|
|
name: xfsquotauser
|
|
|
|
state: absent
|
|
|
|
become: yes
|