machine_setup/ansible/roles/kanshi/tasks/peruser_linux.yaml
2022-11-25 15:59:18 -05:00

18 lines
407 B
YAML

- 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