computer-playbook/roles/update-docker/tasks/main.yml

16 lines
393 B
YAML
Raw Normal View History

2023-11-16 14:04:42 +01:00
- name: create {{update_docker_script}}
copy:
src: update-docker.py
2023-11-16 15:18:11 +01:00
dest: "{{update_docker_script}}"
- name: configure update-docker.service
template:
2023-11-16 16:40:45 +01:00
src: update-docker.service.j2
2023-11-16 15:18:11 +01:00
dest: /etc/systemd/system/update-docker.service
- name: "reload update-docker.service"
systemd:
name: update-docker.service
state: reloaded
enabled: yes
daemon_reload: yes