Add playbook which copies the templates to '$HOME/Templates/'.

This commit is contained in:
2026-05-26 15:34:38 -07:00
parent 3a53fbb0c6
commit f6d9521865

View File

@@ -0,0 +1,22 @@
---
# Copy everything from PROJECT/files/templates/ to User's home.
- name: Workstation | Settings | Templates | Variables
set_fact:
user_templates: "{{ user_user.home }}/Templates"
- name: Workstation | Settings | Templates | Ensure Directory Exists
ansible.builtin.file:
path: "{{ user_templates }}"
state: directory
mode: '0755'
owner: "{{ user }}"
group: "{{ user }}"
- name: Workstation | Settings | Templates | Copy Files
copy:
src: 'templates/'
dest: "{{ user_templates }}/"
owner: "{{ user }}"
group: "{{ user }}"
mode: '0755'