16 lines
376 B
YAML
16 lines
376 B
YAML
- name: Docker Dienst starten
|
|
shell:
|
|
"systemctl start docker; systemctl enable docker"
|
|
|
|
- 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
|