From 02d4f6d44a7730c6735b0fdb3d79ccde218b1612 Mon Sep 17 00:00:00 2001 From: Mark Heiges Date: Fri, 26 Aug 2016 11:55:58 -0400 Subject: [PATCH] remove hard-coded installer_package_name --- roles/easyredmine/templates/install_wrapper.j2 | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/roles/easyredmine/templates/install_wrapper.j2 b/roles/easyredmine/templates/install_wrapper.j2 index 3a7814a..c0e3b15 100755 --- a/roles/easyredmine/templates/install_wrapper.j2 +++ b/roles/easyredmine/templates/install_wrapper.j2 @@ -5,8 +5,7 @@ set timeout -1 -# spawn ~/bin/redmine install {{ remote_scratch_path }}/easyredmine_package_u2072_d201511101601.zip -spawn redmine install {{ remote_scratch_path }}/easyredmine_package_u2072_d201511101601.zip +spawn redmine install {{ remote_scratch_path }}/{{ installer_package_name }} expect -re {[\r\n]+Path for redmine_root} send "{{ redmine_root_dir }}\r" @@ -70,7 +69,7 @@ expect { # # expect -re {[\r\n]+User_name:} # send "{{ smtp_username }}\r" -# +# # expect -re {[\r\n]+Password:} # send "{{ smtp_password }}\r"