Playbook
This commit is contained in:
parent
451c8fee6e
commit
1caa7659ae
9 changed files with 80 additions and 0 deletions
12
tasks/docker.yml
Normal file
12
tasks/docker.yml
Normal file
|
@ -0,0 +1,12 @@
|
|||
- 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
|
Loading…
Add table
Add a link
Reference in a new issue