mirror of
https://github.com/roles-ansible/ansible_role_rustdesk.git
synced 2024-08-16 10:19:48 +02:00
19 lines
455 B
YAML
19 lines
455 B
YAML
|
---
|
||
|
- name: "Create rustdesk Group"
|
||
|
become: true
|
||
|
ansible.builtin.group:
|
||
|
name: "{{ rustdesk__group }}"
|
||
|
system: true
|
||
|
state: "present"
|
||
|
|
||
|
- name: "Create rustdesk user"
|
||
|
become: true
|
||
|
ansible.builtin.user:
|
||
|
name: "{{ rustdesk__user }}"
|
||
|
comment: "rustdesk user"
|
||
|
group: "{{ rustdesk__group }}"
|
||
|
groups: "{{ rustdesk__groups | default(omit) }}"
|
||
|
home: "{{ rustdesk__user_home }}"
|
||
|
shell: "/usr/sbin/nologin"
|
||
|
system: true
|