mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-14 17:01:05 +01:00
22 lines
603 B
YAML
22 lines
603 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: "reload update-docker.cymais.service"
|
|
systemd:
|
|
name: update-docker.cymais.service
|
|
state: reloaded
|
|
enabled: yes
|
|
daemon_reload: yes |