Commit 60877381 authored by ∞'s avatar 💻

Use copy module instead of file

parent f8da7e7e
......@@ -115,8 +115,8 @@
- name: Create docker-compose definition backup
when: project is defined
file:
path: '{{ ansible_user_dir + "/.yourlabs.compose/" + project + "/docker-compose.yml" }}'
copy:
dest: '{{ ansible_user_dir + "/.yourlabs.compose/" + project + "/docker-compose.yml" }}'
content: '{{ compose_content }}'
- name: Show logs
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment