classroom/roles/autoupdate/tasks/main_lin.yml
2025-10-19 22:29:28 +02:00

39 lines
955 B
YAML

- name: Create frib_autoupdate systemd unit
ansible.builtin.copy:
src: frib_autoupdate.service
dest: /etc/systemd/system/
owner: root
group: root
- name: Create frib_autoupdate timer
ansible.builtin.copy:
src: frib_autoupdate.timer
dest: /etc/systemd/system/
owner: root
group: root
- name: Enable frib_autoupdate timer
ansible.builtin.systemd_service:
name: frib_autoupdate.timer
state: started
enabled: true
- name: Create rsync_ucilnicesmb_d systemd unit
ansible.builtin.copy:
src: rsync_ucilnicesmb_d.service
dest: /etc/systemd/system/
owner: root
group: root
- name: Create rsync_ucilnicesmb_d timer
ansible.builtin.copy:
src: rsync_ucilnicesmb_d.timer
dest: /etc/systemd/system/
owner: root
group: root
- name: Enable rsync_ucilnicesmb_d timer
ansible.builtin.systemd_service:
name: rsync_ucilnicesmb_d.timer
state: started
enabled: true