fix the .env paths

This commit is contained in:
Andreas Zweili 2021-11-10 22:38:40 +01:00
parent 0004113253
commit 178b8cce74
1 changed files with 3 additions and 2 deletions

View File

@ -42,13 +42,14 @@
- name: "Get the .env template"
ansible.builtin.fetch:
src: "{{ docker_project_path }}/.env.example"
dest: "/tmp/.env.example"
dest: "/tmp/fetched/{{ inventory_hostname }}.env.example"
flat: yes
become: no
when: docker_skip_project is undefined
- name: "Copy the .env file"
ansible.builtin.template:
src: "/tmp/.env.example"
src: "/tmp/fetched/{{ inventory_hostname }}.env.example"
dest: "{{ docker_project_path }}/.env"
become: no
when: docker_skip_project is undefined