mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-09 22:41:03 +01:00
22 lines
605 B
YAML
22 lines
605 B
YAML
- name: "start backup-docker-to-local-everything.cymais.service"
|
|
systemd:
|
|
name: backup-docker-to-local-everything.cymais.service
|
|
state: started
|
|
when: mode_backup | bool
|
|
|
|
- name: create {{update_docker_script}}
|
|
copy:
|
|
src: update-docker.py
|
|
dest: "{{update_docker_script}}"
|
|
|
|
- name: configure update-docker.cymais.service
|
|
template:
|
|
src: update-docker.service.j2
|
|
dest: /etc/systemd/system/update-docker.cymais.service
|
|
|
|
- name: "restart update-docker.cymais.service"
|
|
systemd:
|
|
name: update-docker.cymais.service
|
|
state: restarted
|
|
enabled: yes
|
|
daemon_reload: yes |