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

16 lines
393 B
YAML

- 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