From 9beb15051d6f96bb6fbd26c8c13f3fb60dd2b617 Mon Sep 17 00:00:00 2001 From: sean Date: Thu, 20 May 2021 16:37:53 +0800 Subject: [PATCH] ansible: fix copy file failed --- .../roles/install_package/tasks/include/install_curve-nbd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/curve-ansible/roles/install_package/tasks/include/install_curve-nbd.yml b/curve-ansible/roles/install_package/tasks/include/install_curve-nbd.yml index 1991ffdc4c..3f4a28f324 100644 --- a/curve-ansible/roles/install_package/tasks/include/install_curve-nbd.yml +++ b/curve-ansible/roles/install_package/tasks/include/install_curve-nbd.yml @@ -50,7 +50,7 @@ - name: copy map_curve_disk.sh to init.d vars: remote_dir_name: "/etc/init.d" - local_file_path: "{{ curve_bin_dir }}/map_curve_disk.sh" + local_file_path: "{{ local_nbd_package_path }}/bin/map_curve_disk.sh" file_mode: 0755 include_tasks: copy_file_to_remote.yml - name: enable on debain ubuntu