community.general/tests/integration/targets/xfs_quota/tasks/main.yml

24 lines
617 B
YAML

---
####################################################################
# WARNING: These are designed specifically for Ansible tests #
# and should not be used as examples of how to write Ansible roles #
####################################################################
- 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