mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-24 13:04:00 -07:00
Add Ansible.ModuleUtils.PrivilegeUtil and converted code to use it (#43179)
* Add Ansible.ModuleUtils.PrivilegeUtil and converted code to use it * Changed namespace and class to be a better standard and fixed some typos * Changes from review * changes to avoid out of bound mem of server 2008 * changes to detect failure when setting a privileged not allowed
This commit is contained in:
parent
d79027b77f
commit
9259f31fee
18 changed files with 708 additions and 298 deletions
|
|
@ -135,3 +135,11 @@
|
|||
- assert:
|
||||
that:
|
||||
- file_util_test.data == 'success'
|
||||
|
||||
- name: call module with PrivilegeUtil tests
|
||||
privilege_util_test:
|
||||
register: privilege_util_test
|
||||
|
||||
- assert:
|
||||
that:
|
||||
- privilege_util_test.data == 'success'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue