ansible-unifi/tasks/docker.yml
Jochen Friedrich 1caa7659ae Playbook
2021-05-18 16:15:42 +02:00

13 lines
282 B
YAML

- name: Ensure Unifi Docker image is pulled
docker_image:
name: "{{ unifi_version }}"
source: 'pull'
- name: Ensure Unifi systemd is installed
copy:
src: files/unifi.service
dest: /etc/systemd/system/unifi.service
mode: 0644
owner: root
group: root