ctucx.git: ansible-configs

My personal ansible roles and playbooks [deprecated in favor of nixos]

commit 7132461cd0615ff344b613dcd1d8e9db985c41c7
parent e490ba808107b1569b585b59c5280bf5ee8e5a66
Author: Leah (ctucx) <leah@ctu.cx>
Date: Tue, 2 Feb 2021 10:56:10 +0100

files: fix
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/roles/files/tasks/main.yml b/roles/files/tasks/main.yml
@@ -12,7 +12,7 @@
     - item.value.state == "directory"
 
 - name: "[Files] Create defined files (with content)"
-  file:
+  copy:
     dest: "{{ item.key }}"
     mode: "{{ item.value.mode }}"
     owner: "{{ item.value.owner }}"

@@ -25,7 +25,7 @@
     - item.value.content is defined
 
 - name: "[Files] Create defined files"
-  file:
+  copy:
     dest: "{{ item.key }}"
     mode: "{{ item.value.mode }}"
     owner: "{{ item.value.owner }}"