This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # wg-vps-ansible-verify-patch.sh | |
| # Fixes verify.yml synthetic peer test: removes Jinja-inside-shell so Ansible's | |
| # argument parser stops choking on it. Values are passed via environment vars. | |
| # Run on the VPS: | |
| # cd ~/wg-vps-ansible && sudo bash wg-vps-ansible-verify-patch.sh | |
| set -euo pipefail | |
| if [[ ! -f verify.yml ]]; then | |
| echo "ERROR: run this from inside the wg-vps-ansible directory" >&2 |