Skip to content

Commit cdd8e68

Browse files
author
Michal Muransky
authored
Merge pull request #18 from lablabs/fix/readme
docs: add wireguard_out_interface var to example
2 parents c13b986 + e044df0 commit cdd8e68

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

galaxy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
namespace: lablabs
33
name: wireguard
4-
version: "0.3.2"
4+
version: "0.3.3"
55
readme: README.md
66
authors:
77
- Labyrinth Labs <info@lablabs.io>

playbooks/wireguard.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,17 @@
1919
name:
2020
- iptables-persistent
2121
state: present
22-
when:
22+
when:
2323
- ansible_os_family == "Debian"
2424

2525
- name: Install iptables-persistent for Redhat family
2626
ansible.builtin.package:
2727
name:
2828
- iptables-services
2929
state: present
30-
when:
30+
when:
3131
- ansible_os_family == "RedHat"
32-
32+
3333
- name: Setup MASQUERADE for server access through vpn server
3434
ansible.builtin.iptables:
3535
chain: POSTROUTING

roles/wireguard/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ It will also download the client configs into the specified directory. Remaining
123123
vars:
124124
wireguard_clients_download_dir: /my_clients/
125125
wireguard_download_clients: true
126+
wireguard_out_interface: ens5
126127
wireguard_peers:
127128
- name: user1
128129
allowed_ip: "10.213.213.2"

0 commit comments

Comments
 (0)