This commit is contained in:
Mike Wilson
2026-08-28 12:25:42 -04:00
parent fd55cef154
commit 42a276b5d4
5 changed files with 6 additions and 121 deletions
+1 -18
View File
@@ -26,29 +26,12 @@
- name: Create data directory
ansible.builtin.file:
path: "{{ data_dir }}/{{ item }}"
path: "{{ data_dir }}/{{ role_name }}/config"
state: directory
owner: "{{ service_user.uid }}"
group: "{{ primary_gid }}"
mode: "{{ docker_compose_directory_mask }}"
become: true
loop:
- "{{ role_name }}/config"
- "{{ role_name }}/custom-services"
- "{{ role_name }}/custom-cont"
- name: Copy arr-scripts init script
ansible.builtin.copy:
src: "scripts_init.bash"
dest: "{{ data_dir }}/{{ role_name }}/custom-cont"
owner: "{{ service_user.uid }}"
mode: 0564
become: true
- name: Copy extended.conf
ansible.builtin.template:
src: "extended.conf"
dest: "{{ data_dir }}/{{ role_name }}/config"
- name: Start docker container
community.docker.docker_compose_v2: