mirror of
https://github.com/ThunixdotNet/ansible.git
synced 2026-03-21 19:40:18 +00:00
add system user vnc
This commit is contained in:
16
roles/shell/tasks/users/vnc.yml
Normal file
16
roles/shell/tasks/users/vnc.yml
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
---
|
||||||
|
- name: add group vnc
|
||||||
|
group:
|
||||||
|
name: vnc
|
||||||
|
system: yes
|
||||||
|
state: present
|
||||||
|
|
||||||
|
- name: Add the user vnc
|
||||||
|
user:
|
||||||
|
name: vnc
|
||||||
|
system: yes
|
||||||
|
shell: /bin/false
|
||||||
|
groups: vnc
|
||||||
|
create_home: yes
|
||||||
|
home: /var/lib/vnc
|
||||||
|
state: present
|
||||||
Reference in New Issue
Block a user