summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--host_vars/icvpn_sample9
-rw-r--r--inventory.ini.sample3
-rw-r--r--setup_fastd.yml24
3 files changed, 35 insertions, 1 deletions
diff --git a/host_vars/icvpn_sample b/host_vars/icvpn_sample
new file mode 100644
index 0000000..3aaa6b4
--- /dev/null
+++ b/host_vars/icvpn_sample
@@ -0,0 +1,9 @@
+---
+ansible_host: 123.123.123.123
+wireguard_bb_name: '< node name >'
+wireguard_bb_endpoint: '< peer public ipv6 >'
+wireguard_bb_priv_key: '< priv key >'
+wireguard_bb_pub_key: '< pub key >'
+wireguard_bb_ipv4: '< wg bb ipv4 >'
+wireguard_bb_ipv6: '< wg bb ipv6 (fe80::) >'
+wireguard_bb_port: < port >
diff --git a/inventory.ini.sample b/inventory.ini.sample
index 7691c5f..e38ad6f 100644
--- a/inventory.ini.sample
+++ b/inventory.ini.sample
@@ -4,6 +4,9 @@
[fastd]
fastd
+[icvpn]
+ff-icvpn
+
[mullvad_uplink]
ff-uplink2
diff --git a/setup_fastd.yml b/setup_fastd.yml
index 43f2a25..6ba05ce 100644
--- a/setup_fastd.yml
+++ b/setup_fastd.yml
@@ -26,6 +26,29 @@
- install_iperf3
- update_ssh_keys
- install_admin_packages
+- name: setup icvpn
+ hosts: icvpn
+ user: root
+ roles:
+ - configure_journald
+ - configure_sysctl
+ #- configure_iptables
+ #- configure_static_routes
+ #- install_ssmtp
+ - install_cronie
+ #- install_php
+ #- install_nginx
+ - install_ntp
+ - install_haveged
+ #- setup_batman
+ #- install_bind
+ - install_wireguard
+ #- install_wireguard_backbone
+ #- install_babeld
+ #- install_monitoring
+ - install_iperf3
+ - update_ssh_keys
+ - install_admin_packages
- name: basic uplink config
hosts: uplink
user: root
@@ -35,7 +58,6 @@
- configure_iptables
- configure_static_routes
- install_cronie
- #- install_php
- install_nginx
- install_ntp
- install_haveged