From 369bebd7267a94eb800555b89183643b850069c6 Mon Sep 17 00:00:00 2001 From: qiaofeng1227 <76487013@qq.com> Date: Wed, 11 May 2022 09:51:23 +0800 Subject: [PATCH] Update main.yml --- apps/roles/discuzq/tasks/main.yml | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/apps/roles/discuzq/tasks/main.yml b/apps/roles/discuzq/tasks/main.yml index 9dcd2c2b..c0d5d107 100644 --- a/apps/roles/discuzq/tasks/main.yml +++ b/apps/roles/discuzq/tasks/main.yml @@ -29,18 +29,9 @@ 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-mysql/_data", - dest: "/data/db/mysql/data", - } + - {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-mysql/_data",dest: "/data/db/mysql/data"} - block: - name: Check Discuzq Version