mirror of
https://github.com/aminnairi/dotfiles.git
synced 2026-11-13 13:19:09 +01:00
initial commit
This commit is contained in:
1 parent
6df337d017
commit
ec71e5a716
2 files changed
+39
No files matched your search
@@ -0,0 +1,24 @@
|
||||
---
|
||||
- name: Ensure systemd user directory exists
|
||||
ansible.builin.file:
|
||||
path: "/home/amin/.config/systemd/user"
|
||||
state: directory
|
||||
owner: amin
|
||||
group: amin
|
||||
mode: '0755'
|
||||
|
||||
- name: Copy Syncthing systemd service file
|
||||
ansible.builtin.copy:
|
||||
src: syncthing.service
|
||||
dest: /$HOME/.config/systemd/user
|
||||
owner: amin
|
||||
group: amin
|
||||
mode: 0644
|
||||
|
||||
- name: Reload Systemd User Daemon
|
||||
ansible.builtin.systemd_service:
|
||||
enabled: true
|
||||
daemon_reload: true
|
||||
name: syncthing
|
||||
scope: user
|
||||
state: started
|
||||
Reference in new issue
Block a user