mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-12-23 10:45:03 +01:00
22 lines
576 B
YAML
22 lines
576 B
YAML
- name: "start backup-docker-to-local-everything.service"
|
|
systemd:
|
|
name: backup-docker-to-local-everything.service
|
|
state: started
|
|
when: force_backup_before_update | bool
|
|
|
|
- name: create {{update_docker_script}}
|
|
copy:
|
|
src: update-docker.py
|
|
dest: "{{update_docker_script}}"
|
|
|
|
- name: configure update-docker.service
|
|
template:
|
|
src: update-docker.service.j2
|
|
dest: /etc/systemd/system/update-docker.service
|
|
|
|
- name: "reload update-docker.service"
|
|
systemd:
|
|
name: update-docker.service
|
|
state: reloaded
|
|
enabled: yes
|
|
daemon_reload: yes |