diff --git a/tasks/main.yml b/tasks/main.yml index 9092328..284135d 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -29,7 +29,7 @@ tags: - pkg - import_tasks: "pkg_Debian.yml" - when: ansible_distribution == 'Debian' + when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu' tags: - pkg diff --git a/tasks/pkg_Alpine.yml b/tasks/pkg_Alpine.yml index f77aa9c..0d74dbc 100644 --- a/tasks/pkg_Alpine.yml +++ b/tasks/pkg_Alpine.yml @@ -38,6 +38,7 @@ - docker-py - haveged - htop + - iproute2 - iptables - ip6tables - nginx diff --git a/templates/networking.j2 b/templates/networking.j2 index c176831..005b1ca 100644 --- a/templates/networking.j2 +++ b/templates/networking.j2 @@ -54,13 +54,4 @@ iface br0 inet6 auto {% endif %} {% endif %} -{% if wanted_serekh is defined %} -auto wg-serekh -iface wg-serekh inet6 static - address {{ wanted_serekh }}/64 - pre-up ip link add dev wg-serekh type wireguard - pre-up wg setconf wg-serekh /etc/wireguard/wg-serekh.conf - post-down ip link delete dev wg-serekh -{% endif %} - source-directory /etc/network/interfaces.d