1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_rustdesk.git synced 2024-08-16 10:19:48 +02:00
ansible_role_rustdesk/tasks/create_user.yml

19 lines
455 B
YAML
Raw Normal View History

2024-02-18 03:57:44 +01:00
---
- 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