diff options
-rwxr-xr-x | apply_roles | 3 | ||||
-rw-r--r-- | roles/setup_wireguard/tasks/main.yml | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/apply_roles b/apply_roles index ad33233..8b0aa51 100755 --- a/apply_roles +++ b/apply_roles @@ -12,3 +12,6 @@ for role in ${1}; do ansible_args=$(echo "${@:2}") ansible-playbook ${ansible_args} --tags "${role}" done + + + diff --git a/roles/setup_wireguard/tasks/main.yml b/roles/setup_wireguard/tasks/main.yml index d626767..b77129b 100644 --- a/roles/setup_wireguard/tasks/main.yml +++ b/roles/setup_wireguard/tasks/main.yml @@ -14,7 +14,6 @@ package: name: wireguard-go wireguard-tools state: present - when: "'-DC-' in inventory_hostname" - name: Activate ipv4 forwarding for wg0 server shell: sysctl net.inet.ip.forwarding=1 |