mirror of https://github.com/ansible/ansible.git
test - add setup target that creates the nobody user (#52750)
* test - add setup target that creates the nobody user * do not set explicit gid/uid for nobody user * Do no create group and only touch basic attributespull/52794/head
parent
aab1f30906
commit
17bfc60423
@ -1,2 +1,3 @@
|
|||||||
dependencies:
|
dependencies:
|
||||||
- prepare_tests
|
- prepare_tests
|
||||||
|
- setup_nobody
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
dependencies:
|
dependencies:
|
||||||
- prepare_tests
|
- prepare_tests
|
||||||
|
- setup_nobody
|
||||||
|
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
- name: remove nobody user
|
||||||
|
user:
|
||||||
|
name: nobody
|
||||||
|
state: absent
|
@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
- name: create nobody user
|
||||||
|
user:
|
||||||
|
name: nobody
|
||||||
|
create_home: no
|
||||||
|
state: present
|
||||||
|
notify: remove nobody user
|
@ -1,2 +1,3 @@
|
|||||||
dependencies:
|
dependencies:
|
||||||
- prepare_tests
|
- prepare_tests
|
||||||
|
- setup_nobody
|
||||||
|
Loading…
Reference in New Issue