fixed syntax

This commit is contained in:
2023-10-27 17:18:24 +02:00
parent cb8b7b9897
commit 55ffe1a19f
3 changed files with 7 additions and 7 deletions

View File

@@ -3,20 +3,20 @@
- name: Create pi-hole directory
ansible.builtin.file:
path: "{{ app_dir }}"
path: "{{ pi_hole_app_dir }}"
state: directory
mode: '0755'
- name: Create data directory
ansible.builtin.file:
path: "{{ app_dir }}/data"
path: "{{ pi_hole_app_dir }}/data"
state: directory
mode: '0755'
- name: Templating docker-compose.yml
ansible.builtin.template:
src: files/docker-compose.yaml.j2
dest: "{{ app_dir }}/docker-compose.yaml"
dest: "{{ pi_hole_app_dir }}/docker-compose.yaml"
owner: root
group: root
mode: '0660'
@@ -25,5 +25,5 @@
- name: Start docker-compose
community.docker.docker_compose:
project_src: "{{ app_dir }}"
project_src: "{{ pi_hole_app_dir }}"
state: present