Skip to content
Snippets Groups Projects
Verified Commit ed5d4458 authored by nd's avatar nd
Browse files

add support to set file content

parent 9641e5a2
No related branches found
No related tags found
No related merge requests found
......@@ -21,3 +21,13 @@
owner: "{{ file.owner }}"
mode: "{{ file.mode }}"
state: "{{ file.state }}"
- name: create file/folder
when:
- file.content
copy:
dest: "{{ file.path }}"
group: "{{ file.group }}"
owner: "{{ file.owner }}"
mode: "{{ file.mode }}"
content: "{{ file.content }}"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment