diff --git a/roles/openvpn/templates/iiab-remote-on b/roles/openvpn/templates/iiab-remote-on.j2 similarity index 87% rename from roles/openvpn/templates/iiab-remote-on rename to roles/openvpn/templates/iiab-remote-on.j2 index 0c1215077..45c48f228 100644 --- a/roles/openvpn/templates/iiab-remote-on +++ b/roles/openvpn/templates/iiab-remote-on.j2 @@ -11,7 +11,7 @@ systemctl enable openvpn@xscenet.service systemctl start openvpn@xscenet.service sleep 5 -ping -c 2 10.8.0.1 +ping -c 2 {{ openvpn_server_virtual_ip }} # 10.8.0.1 if [ $? -eq 0 ]; then echo OpenVPN successfully started. else