fix remote_src for unpacking and templating

This commit is contained in:
Jens Timmerman 2020-09-11 01:51:18 +02:00
parent 30f7325323
commit 5b222ccc15
1 changed files with 3 additions and 1 deletions

View File

@ -28,7 +28,8 @@
- name: 'unarchive latest im stable'
unarchive:
remote_src: "{{im_home}}/im-latest.tar.gz"
src: "{{im_home}}/im-latest.tar.gz"
remote_src: yes
dest: "{{ im_home }}"
owner: im
group: im
@ -51,6 +52,7 @@
template:
src: "{{im_home}}/im/im/settings.py.prod"
dest: "{{im_home}}/im/im/settings.py"
remote_src: true
owner: "{{ im_user }}"
mode: 0600
notify: "Restart im"