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

16 lines
390 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:
src: update-docker.service
dest: /etc/systemd/system/update-docker.service
- name: "reload update-docker.service"
systemd:
name: update-docker.service
state: reloaded
enabled: yes
daemon_reload: yes