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
Roll your own dynamic DNS service using Route53 |
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
--- | |
- hosts: | |
- all | |
become: true | |
tasks: | |
- name: Update apt cache | |
apt: update_cache=yes | |
- name: Upgrade packages | |
apt: upgrade=dist |
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
#!/bin/sh | |
function install_wireguard () { | |
echo "Downloading Wireguard ($RELEASE)..." | |
FILENAME="wireguard-$BOARD-$RELEASE.deb" | |
DEB_URL="https://github.com/Lochnair/vyatta-wireguard/releases/download/$RELEASE/$FILENAME" | |
if (/usr/bin/curl -s -L -o /tmp/$FILENAME $DEB_URL); then | |
echo "Installing $FILENAME..." | |
dpkg -i /tmp/$FILENAME | |
rm -f /tmp/$FILENAME |
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
delete firewall | |
delete system config-management | |
delete system domain-search | |
delete system flow-accounting | |
delete system flow-analysis | |
delete system ntp | |
delete system syslog | |
delete traffic-policy | |
delete zone-policy |