added roles folder

This commit is contained in:
2026-03-10 08:57:20 +01:00
parent 3b69def1b8
commit c4039668da
23 changed files with 289 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
- name: create file structure for home-assistant docker installation
ansible.builtin.file:
path: /home/{{ ansible_user }}/home-assistant-components
state: directory
owner: "{{ ansible_user }}"
group: "{{ ansible_user }}"
mode: "0755"
- name: create subfolder home-assistant
ansible.builtin.file:
path: /home/{{ ansible_user }}/home-assistant-components/home-assistant
state: directory
owner: "{{ ansible_user }}"
group: "{{ ansible_user }}"
mode: "0755"
- name: create subfolder config
ansible.builtin.file:
path: /home/{{ ansible_user }}/home-assistant-components/home-assistant/config
state: directory
owner: "{{ ansible_user }}"
group: "{{ ansible_user }}"
mode: "0755"
- name: create subfolder media
ansible.builtin.file:
path: /home/{{ ansible_user }}/home-assistant-components/home-assistant/media
state: directory
owner: "{{ ansible_user }}"
group: "{{ ansible_user }}"
mode: "0755"