machine_setup/ansible/roles/kanshi/tasks/peruser_linux.yaml

18 lines
407 B
YAML
Raw Normal View History

2022-11-25 20:53:43 +00:00
- name: Copy files
copy:
src: "files/{{ item.src }}"
dest: "{{ account_homedir.stdout }}/{{ item.dest }}"
mode: 0600
owner: "{{ account_name.stdout }}"
group: "{{ group_name.stdout }}"
loop:
- src: kanshi.service
dest: .config/systemd/user/kanshi.service
- name: Enable services
systemd:
name: kanshi.service
daemon_reload: yes
enabled: true
scope: user