Fix UniFi playbook paths: /root/docker -> /home/docker

This commit is contained in:
Maddox 2026-01-26 00:08:23 +00:00
parent 182ef9ca12
commit 6b36ff0dc2

View file

@ -57,7 +57,7 @@
tasks:
- name: Ensure appdata directory exists
file:
path: /root/docker/appdata/unifi
path: /home/docker/appdata/unifi
state: directory
mode: '0755'
@ -74,18 +74,18 @@
- name: Deploy compose file
copy:
src: "../compose-files/network-services/unifi/docker-compose.yml"
dest: /root/docker/appdata/unifi/docker-compose.yml
dest: /home/docker/appdata/unifi/docker-compose.yml
mode: '0644'
- name: Pull images
shell: |
cd /root/docker/appdata/unifi
cd /home/docker/appdata/unifi
docker compose pull
register: pull_result
- name: Start stack
shell: |
cd /root/docker/appdata/unifi
cd /home/docker/appdata/unifi
docker compose up -d
register: start_result