This in time makes the bash-fu end up with the following input to the vpn variable in ansible:
127.0.0.1
127.0.0.1
Apart from these IPs obviously not being the VPN ips, will break the script becase the second line will become its own line as the j2 template is compiled, and 127.0.0.1 is obviously not a recognisable command for bash :)
In our playbook we've just commented out this step of the whitelist for now
I've noticed that the
user/vpn
endpoint tend to return this error message(You can test this out in the interactive API docs of Packet)
This in time makes the bash-fu end up with the following input to the vpn variable in ansible:
Apart from these IPs obviously not being the VPN ips, will break the script becase the second line will become its own line as the j2 template is compiled, and
127.0.0.1
is obviously not a recognisable command for bash :)In our playbook we've just commented out this step of the whitelist for now