From b35d4bb25dee540026f6b508bfcbbc4379db3a43 Mon Sep 17 00:00:00 2001 From: qiaofeng1227 <76487013@qq.com> Date: Wed, 11 May 2022 16:17:18 +0800 Subject: [PATCH] Update main.yml --- apps/roles/common/tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/roles/common/tasks/main.yml b/apps/roles/common/tasks/main.yml index 48d2042c..04a0e411 100644 --- a/apps/roles/common/tasks/main.yml +++ b/apps/roles/common/tasks/main.yml @@ -28,8 +28,8 @@ state: link force: yes with_items: - - {src: "/var/lib/docker/volumes/discuzq_discuzq/_data", dest: "{{discuzq_root_directory}}/volumes/discuzq"} - - {src: "/var/lib/docker/volumes/discuzq-mysql/_data", dest: "{{discuzq_root_directory}}/volumes/mysql"} + - {src: "/var/lib/docker/volumes/discuzq_discuzq/_data", dest: "/data/apps/{{appname}}/volumes/discuzq"} + - {src: "/var/lib/docker/volumes/discuzq-mysql/_data", dest: "/data/apps/{{appname}}/volumes/mysql"} #- name: Check {{appname}} Service # shell: docker ps