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