diff --git a/roles/openvpn/templates/iiab-handle.j2 b/roles/openvpn/templates/iiab-handle.j2 index f967663e3..e68653c60 100755 --- a/roles/openvpn/templates/iiab-handle.j2 +++ b/roles/openvpn/templates/iiab-handle.j2 @@ -1,10 +1,12 @@ #!/bin/bash # Interactive script (over)writes /etc/iiab/openvpn_handle file, identifying client to server -echo -e '\n\nCORRECT METHOD: CHANGE VARIABLE openvpn_handle IN /etc/iiab/local_vars.yml' +echo -e '\nCORRECT METHOD: CHANGE VARIABLE openvpn_handle IN /etc/iiab/local_vars.yml' echo -e 'THEN RUN "cd /opt/iiab/iiab" THEN "./runrole openvpn"\n' read -p "Or, for a temporary solution until the next time Ansible is run, what OpenVPN handle do you want to use? " ans +echo + if [ "$ans" == "" ]; then if [ -f /etc/iiab/openvpn_handle ]; then rm -f /etc/iiab/openvpn_handle