You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration/targets/xfs_quota/tasks/gquota.yml

159 lines
5.3 KiB
YAML

New module: xfs_quota (#51654) * New module: xfs_quota * wildcard import resolution * pep8 fixes * validate-modules fixes * pep8 and validate-module fixes * removal of extra copyright info * description capitalization and trailing dot * Some more description * type specification * removal of notes * reorder imports * sorting * starting with variable type * removal of defaults * results to dict * results to dict * complete condition * removal of spaces for pep8 compliancy, removal of root check, addition of tests for failed xfs_quota commands indicating the need for elevation/capabilities * lost result * typo * historical override removal * report back values * unexpected spaces removal * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * typo * raw data, full data * removal of several else: statements and indentation * pep8 * typo * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * typo * use bytes as base, not kilobytes * be consistent * integration tests * lint * empty lines * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * updates * ci group * XFS not supported on osx * XFS not supported by freebsd * long lines and removal of xfs_quota dict in return * RETURN values * no more xfs_quota dict
6 years ago
---
- name: 'Create disk image'
command: >
dd if=/dev/zero of={{ remote_tmp_dir }}/img-gquota bs=1M count=20
New module: xfs_quota (#51654) * New module: xfs_quota * wildcard import resolution * pep8 fixes * validate-modules fixes * pep8 and validate-module fixes * removal of extra copyright info * description capitalization and trailing dot * Some more description * type specification * removal of notes * reorder imports * sorting * starting with variable type * removal of defaults * results to dict * results to dict * complete condition * removal of spaces for pep8 compliancy, removal of root check, addition of tests for failed xfs_quota commands indicating the need for elevation/capabilities * lost result * typo * historical override removal * report back values * unexpected spaces removal * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * typo * raw data, full data * removal of several else: statements and indentation * pep8 * typo * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * typo * use bytes as base, not kilobytes * be consistent * integration tests * lint * empty lines * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * updates * ci group * XFS not supported on osx * XFS not supported by freebsd * long lines and removal of xfs_quota dict in return * RETURN values * no more xfs_quota dict
6 years ago
- name: 'Create XFS filesystem'
filesystem:
dev: '{{ remote_tmp_dir }}/img-gquota'
New module: xfs_quota (#51654) * New module: xfs_quota * wildcard import resolution * pep8 fixes * validate-modules fixes * pep8 and validate-module fixes * removal of extra copyright info * description capitalization and trailing dot * Some more description * type specification * removal of notes * reorder imports * sorting * starting with variable type * removal of defaults * results to dict * results to dict * complete condition * removal of spaces for pep8 compliancy, removal of root check, addition of tests for failed xfs_quota commands indicating the need for elevation/capabilities * lost result * typo * historical override removal * report back values * unexpected spaces removal * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * typo * raw data, full data * removal of several else: statements and indentation * pep8 * typo * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * typo * use bytes as base, not kilobytes * be consistent * integration tests * lint * empty lines * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * updates * ci group * XFS not supported on osx * XFS not supported by freebsd * long lines and removal of xfs_quota dict in return * RETURN values * no more xfs_quota dict
6 years ago
fstype: xfs
- block:
- name: 'Mount filesystem'
mount:
fstab: '{{ remote_tmp_dir }}/fstab'
src: '{{ remote_tmp_dir }}/img-gquota'
path: '{{ remote_tmp_dir }}/gquota'
New module: xfs_quota (#51654) * New module: xfs_quota * wildcard import resolution * pep8 fixes * validate-modules fixes * pep8 and validate-module fixes * removal of extra copyright info * description capitalization and trailing dot * Some more description * type specification * removal of notes * reorder imports * sorting * starting with variable type * removal of defaults * results to dict * results to dict * complete condition * removal of spaces for pep8 compliancy, removal of root check, addition of tests for failed xfs_quota commands indicating the need for elevation/capabilities * lost result * typo * historical override removal * report back values * unexpected spaces removal * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * typo * raw data, full data * removal of several else: statements and indentation * pep8 * typo * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * typo * use bytes as base, not kilobytes * be consistent * integration tests * lint * empty lines * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * updates * ci group * XFS not supported on osx * XFS not supported by freebsd * long lines and removal of xfs_quota dict in return * RETURN values * no more xfs_quota dict
6 years ago
fstype: xfs
opts: gquota
state: mounted
become: True
- name: 'Apply default group limits'
xfs_quota:
bsoft: '{{ gquota_default_bsoft }}'
bhard: '{{ gquota_default_bhard }}'
isoft: '{{ gquota_default_isoft }}'
ihard: '{{ gquota_default_ihard }}'
mountpoint: '{{ remote_tmp_dir }}/gquota'
New module: xfs_quota (#51654) * New module: xfs_quota * wildcard import resolution * pep8 fixes * validate-modules fixes * pep8 and validate-module fixes * removal of extra copyright info * description capitalization and trailing dot * Some more description * type specification * removal of notes * reorder imports * sorting * starting with variable type * removal of defaults * results to dict * results to dict * complete condition * removal of spaces for pep8 compliancy, removal of root check, addition of tests for failed xfs_quota commands indicating the need for elevation/capabilities * lost result * typo * historical override removal * report back values * unexpected spaces removal * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * typo * raw data, full data * removal of several else: statements and indentation * pep8 * typo * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * typo * use bytes as base, not kilobytes * be consistent * integration tests * lint * empty lines * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * updates * ci group * XFS not supported on osx * XFS not supported by freebsd * long lines and removal of xfs_quota dict in return * RETURN values * no more xfs_quota dict
6 years ago
rtbsoft: '{{ gquota_default_rtbsoft }}'
rtbhard: '{{ gquota_default_rtbhard }}'
type: group
become: True
register: test_gquota_default_before
- name: Assert default group limits results
assert:
that:
- test_gquota_default_before.changed
- test_gquota_default_before.bsoft == gquota_default_bsoft|human_to_bytes
- test_gquota_default_before.bhard == gquota_default_bhard|human_to_bytes
- test_gquota_default_before.isoft == gquota_default_isoft
- test_gquota_default_before.ihard == gquota_default_ihard
- test_gquota_default_before.rtbsoft == gquota_default_rtbsoft|human_to_bytes
- test_gquota_default_before.rtbhard == gquota_default_rtbhard|human_to_bytes
- name: 'Apply group limits'
xfs_quota:
bsoft: '{{ gquota_group_bsoft }}'
bhard: '{{ gquota_group_bhard }}'
isoft: '{{ gquota_group_isoft }}'
ihard: '{{ gquota_group_ihard }}'
mountpoint: '{{ remote_tmp_dir }}/gquota'
New module: xfs_quota (#51654) * New module: xfs_quota * wildcard import resolution * pep8 fixes * validate-modules fixes * pep8 and validate-module fixes * removal of extra copyright info * description capitalization and trailing dot * Some more description * type specification * removal of notes * reorder imports * sorting * starting with variable type * removal of defaults * results to dict * results to dict * complete condition * removal of spaces for pep8 compliancy, removal of root check, addition of tests for failed xfs_quota commands indicating the need for elevation/capabilities * lost result * typo * historical override removal * report back values * unexpected spaces removal * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * typo * raw data, full data * removal of several else: statements and indentation * pep8 * typo * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * typo * use bytes as base, not kilobytes * be consistent * integration tests * lint * empty lines * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * updates * ci group * XFS not supported on osx * XFS not supported by freebsd * long lines and removal of xfs_quota dict in return * RETURN values * no more xfs_quota dict
6 years ago
name: xfsquotauser
rtbsoft: '{{ gquota_group_rtbsoft }}'
rtbhard: '{{ gquota_group_rtbhard }}'
type: group
become: True
register: test_gquota_group_before
- name: Assert group limits results for xfsquotauser
assert:
that:
- test_gquota_group_before.changed
- test_gquota_group_before.bsoft == gquota_group_bsoft|human_to_bytes
- test_gquota_group_before.bhard == gquota_group_bhard|human_to_bytes
- test_gquota_group_before.isoft == gquota_group_isoft
- test_gquota_group_before.ihard == gquota_group_ihard
- test_gquota_group_before.rtbsoft == gquota_group_rtbsoft|human_to_bytes
- test_gquota_group_before.rtbhard == gquota_group_rtbhard|human_to_bytes
- name: 'Re-apply default group limits'
xfs_quota:
bsoft: '{{ gquota_default_bsoft }}'
bhard: '{{ gquota_default_bhard }}'
isoft: '{{ gquota_default_isoft }}'
ihard: '{{ gquota_default_ihard }}'
mountpoint: '{{ remote_tmp_dir }}/gquota'
New module: xfs_quota (#51654) * New module: xfs_quota * wildcard import resolution * pep8 fixes * validate-modules fixes * pep8 and validate-module fixes * removal of extra copyright info * description capitalization and trailing dot * Some more description * type specification * removal of notes * reorder imports * sorting * starting with variable type * removal of defaults * results to dict * results to dict * complete condition * removal of spaces for pep8 compliancy, removal of root check, addition of tests for failed xfs_quota commands indicating the need for elevation/capabilities * lost result * typo * historical override removal * report back values * unexpected spaces removal * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * typo * raw data, full data * removal of several else: statements and indentation * pep8 * typo * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * typo * use bytes as base, not kilobytes * be consistent * integration tests * lint * empty lines * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * updates * ci group * XFS not supported on osx * XFS not supported by freebsd * long lines and removal of xfs_quota dict in return * RETURN values * no more xfs_quota dict
6 years ago
rtbsoft: '{{ gquota_default_rtbsoft }}'
rtbhard: '{{ gquota_default_rtbhard }}'
type: group
become: True
register: test_gquota_default_after
- name: Assert default group limits results after re-apply
assert:
that:
- not test_gquota_default_after.changed
- name: 'Re-apply group limits'
xfs_quota:
bsoft: '{{ gquota_group_bsoft }}'
bhard: '{{ gquota_group_bhard }}'
isoft: '{{ gquota_group_isoft }}'
ihard: '{{ gquota_group_ihard }}'
mountpoint: '{{ remote_tmp_dir }}/gquota'
New module: xfs_quota (#51654) * New module: xfs_quota * wildcard import resolution * pep8 fixes * validate-modules fixes * pep8 and validate-module fixes * removal of extra copyright info * description capitalization and trailing dot * Some more description * type specification * removal of notes * reorder imports * sorting * starting with variable type * removal of defaults * results to dict * results to dict * complete condition * removal of spaces for pep8 compliancy, removal of root check, addition of tests for failed xfs_quota commands indicating the need for elevation/capabilities * lost result * typo * historical override removal * report back values * unexpected spaces removal * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * typo * raw data, full data * removal of several else: statements and indentation * pep8 * typo * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * typo * use bytes as base, not kilobytes * be consistent * integration tests * lint * empty lines * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * updates * ci group * XFS not supported on osx * XFS not supported by freebsd * long lines and removal of xfs_quota dict in return * RETURN values * no more xfs_quota dict
6 years ago
name: xfsquotauser
rtbsoft: '{{ gquota_group_rtbsoft }}'
rtbhard: '{{ gquota_group_rtbhard }}'
type: group
become: True
register: test_gquota_group_after
- name: Assert group limits results for xfsquotauser after re-apply
assert:
that:
- not test_gquota_group_after.changed
- name: 'Reset default group limits'
xfs_quota:
mountpoint: '{{ remote_tmp_dir }}/gquota'
New module: xfs_quota (#51654) * New module: xfs_quota * wildcard import resolution * pep8 fixes * validate-modules fixes * pep8 and validate-module fixes * removal of extra copyright info * description capitalization and trailing dot * Some more description * type specification * removal of notes * reorder imports * sorting * starting with variable type * removal of defaults * results to dict * results to dict * complete condition * removal of spaces for pep8 compliancy, removal of root check, addition of tests for failed xfs_quota commands indicating the need for elevation/capabilities * lost result * typo * historical override removal * report back values * unexpected spaces removal * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * typo * raw data, full data * removal of several else: statements and indentation * pep8 * typo * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * typo * use bytes as base, not kilobytes * be consistent * integration tests * lint * empty lines * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * updates * ci group * XFS not supported on osx * XFS not supported by freebsd * long lines and removal of xfs_quota dict in return * RETURN values * no more xfs_quota dict
6 years ago
state: absent
type: group
become: True
register: test_reset_gquota_default
- name: Assert reset of default group limits results
assert:
that:
- test_reset_gquota_default.changed
- test_reset_gquota_default.bsoft == 0
- test_reset_gquota_default.bhard == 0
- test_reset_gquota_default.isoft == 0
- test_reset_gquota_default.ihard == 0
- test_reset_gquota_default.rtbsoft == 0
- test_reset_gquota_default.rtbhard == 0
- name: 'Reset group limits for xfsquotauser'
xfs_quota:
mountpoint: '{{ remote_tmp_dir }}/gquota'
New module: xfs_quota (#51654) * New module: xfs_quota * wildcard import resolution * pep8 fixes * validate-modules fixes * pep8 and validate-module fixes * removal of extra copyright info * description capitalization and trailing dot * Some more description * type specification * removal of notes * reorder imports * sorting * starting with variable type * removal of defaults * results to dict * results to dict * complete condition * removal of spaces for pep8 compliancy, removal of root check, addition of tests for failed xfs_quota commands indicating the need for elevation/capabilities * lost result * typo * historical override removal * report back values * unexpected spaces removal * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * typo * raw data, full data * removal of several else: statements and indentation * pep8 * typo * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * typo * use bytes as base, not kilobytes * be consistent * integration tests * lint * empty lines * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * updates * ci group * XFS not supported on osx * XFS not supported by freebsd * long lines and removal of xfs_quota dict in return * RETURN values * no more xfs_quota dict
6 years ago
name: xfsquotauser
state: absent
type: group
become: True
register: test_reset_gquota_group
- name: Assert reset of default group limits results
assert:
that:
- test_reset_gquota_group.changed
- test_reset_gquota_group.bsoft == 0
- test_reset_gquota_group.bhard == 0
- test_reset_gquota_group.isoft == 0
- test_reset_gquota_group.ihard == 0
- test_reset_gquota_group.rtbsoft == 0
- test_reset_gquota_group.rtbhard == 0
always:
- name: 'Unmount filesystem'
mount:
fstab: '{{ remote_tmp_dir }}/fstab'
path: '{{ remote_tmp_dir }}/gquota'
New module: xfs_quota (#51654) * New module: xfs_quota * wildcard import resolution * pep8 fixes * validate-modules fixes * pep8 and validate-module fixes * removal of extra copyright info * description capitalization and trailing dot * Some more description * type specification * removal of notes * reorder imports * sorting * starting with variable type * removal of defaults * results to dict * results to dict * complete condition * removal of spaces for pep8 compliancy, removal of root check, addition of tests for failed xfs_quota commands indicating the need for elevation/capabilities * lost result * typo * historical override removal * report back values * unexpected spaces removal * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * typo * raw data, full data * removal of several else: statements and indentation * pep8 * typo * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * typo * use bytes as base, not kilobytes * be consistent * integration tests * lint * empty lines * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * updates * ci group * XFS not supported on osx * XFS not supported by freebsd * long lines and removal of xfs_quota dict in return * RETURN values * no more xfs_quota dict
6 years ago
state: unmounted
become: True
- name: Remove disk image
file:
path: '{{ remote_tmp_dir }}/img-gquota'
New module: xfs_quota (#51654) * New module: xfs_quota * wildcard import resolution * pep8 fixes * validate-modules fixes * pep8 and validate-module fixes * removal of extra copyright info * description capitalization and trailing dot * Some more description * type specification * removal of notes * reorder imports * sorting * starting with variable type * removal of defaults * results to dict * results to dict * complete condition * removal of spaces for pep8 compliancy, removal of root check, addition of tests for failed xfs_quota commands indicating the need for elevation/capabilities * lost result * typo * historical override removal * report back values * unexpected spaces removal * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * typo * raw data, full data * removal of several else: statements and indentation * pep8 * typo * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * typo * use bytes as base, not kilobytes * be consistent * integration tests * lint * empty lines * Update lib/ansible/modules/system/xfs_quota.py Co-Authored-By: bushvin <bushvin@users.noreply.github.com> * updates * ci group * XFS not supported on osx * XFS not supported by freebsd * long lines and removal of xfs_quota dict in return * RETURN values * no more xfs_quota dict
6 years ago
state: absent