copy statement with force and ownership
This commit is contained in:
@@ -26,6 +26,9 @@
|
|||||||
src: requirements.txt
|
src: requirements.txt
|
||||||
dest: "{{ app_dir }}/requirements.txt"
|
dest: "{{ app_dir }}/requirements.txt"
|
||||||
mode: '0644'
|
mode: '0644'
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
|
force: yes
|
||||||
when: app_dir.stat.exists == true and python_requirements is defined
|
when: app_dir.stat.exists == true and python_requirements is defined
|
||||||
|
|
||||||
- name: Install specified python requirements
|
- name: Install specified python requirements
|
||||||
|
|||||||
Reference in New Issue
Block a user