add system user vnc

This commit is contained in:
fosslinux 2019-08-11 07:41:06 +10:00
parent fbc86120a0
commit 04f3ca853b
1 changed files with 16 additions and 0 deletions

View 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