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/directory.yml

16 lines
374 B
YAML
Raw Normal View History

2024-02-18 03:57:44 +01:00
---
2024-02-18 05:49:34 +01:00
- name: "Create rustdesk home"
2024-02-18 03:57:44 +01:00
become: true
ansible.builtin.file:
path: "{{ item }}"
state: directory
owner: "{{ rustdesk__user }}"
group: "{{ rustdesk__group }}"
mode: 'u=rwX,g=rX,o='
loop:
- "{{ rustdesk__home }}"
- "{{ rustdesk__user_home }}"
notify:
- 'systemctl restart rustdesk-hbbs'
- 'systemctl restart rustdesk-hbbr'