diff --git a/test/integration/targets/group/tasks/tests.yml b/test/integration/targets/group/tasks/tests.yml index d07ad36a3d6..e35b23c9162 100644 --- a/test/integration/targets/group/tasks/tests.yml +++ b/test/integration/targets/group/tasks/tests.yml @@ -314,3 +314,16 @@ state: absent # only applicable to Linux, limit further to CentOS where 'lgroupadd' is installed when: ansible_distribution == 'CentOS' + +# create system group + +- name: remove group + group: + name: ansibullgroup + state: absent + +- name: create system group + group: + name: ansibullgroup + state: present + system: yes diff --git a/test/integration/targets/user/tasks/main.yml b/test/integration/targets/user/tasks/main.yml index 25fc9f8c687..c084bd42c5f 100644 --- a/test/integration/targets/user/tasks/main.yml +++ b/test/integration/targets/user/tasks/main.yml @@ -55,6 +55,19 @@ - user_test0_1 is not changed - '"ansibulluser" in user_names.stdout_lines' +# create system user + +- name: remove user + user: + name: ansibulluser + state: absent + +- name: create system user + user: + name: ansibulluser + state: present + system: yes + # test adding user with uid # https://github.com/ansible/ansible/issues/62969 - name: remove the test user