From 04f3ca853b888d9f5b1aa16a55a768759e598f71 Mon Sep 17 00:00:00 2001 From: fosslinux Date: Sun, 11 Aug 2019 07:41:06 +1000 Subject: [PATCH] add system user vnc --- roles/shell/tasks/users/vnc.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 roles/shell/tasks/users/vnc.yml diff --git a/roles/shell/tasks/users/vnc.yml b/roles/shell/tasks/users/vnc.yml new file mode 100644 index 0000000..5dd5ba3 --- /dev/null +++ b/roles/shell/tasks/users/vnc.yml @@ -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