Add kanshi for both FreeBSD and Linux.
This commit is contained in:
17
ansible/roles/kanshi/tasks/peruser_linux.yaml
Normal file
17
ansible/roles/kanshi/tasks/peruser_linux.yaml
Normal file
@@ -0,0 +1,17 @@
|
||||
- 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
|
||||
Reference in New Issue
Block a user