Updating DarkNet VPN setup

This commit is contained in:
2022-12-18 22:24:44 -06:00
parent 36d0be5f88
commit c589f5ac55
6 changed files with 72 additions and 14 deletions

View File

@@ -21,6 +21,20 @@
src: netctl-tap.j2
dest: "/etc/netctl/{{ ipinterface }}"
- name: Bridge ArchLinux network config
become: yes
when: tap and not static
template:
src: netctl-bond.j2
dest: "/etc/netctl/br0"
- name: Tunnel ArchLinux network config
become: yes
when: tap and not static
copy:
src: netctl-tun
dest: "/etc/netctl/tun0"
- name: Dynamic ArchLinux network config
become: yes
when: not static and not tap

View File

@@ -1,6 +1,6 @@
- name: Set Bash MOTD
- name: Set Bash MOTD
become: yes
copy:
src: "motd/{{ inventory_hostname }}"