Removed dependencies to posix/utils and unused tests
This commit is contained in:
parent
0c76cd5b44
commit
2fd69c736b
|
@ -1,2 +0,0 @@
|
|||
localhost
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
---
|
||||
- hosts: localhost
|
||||
remote_user: root
|
||||
roles:
|
||||
- docker
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
|
||||
- name: Setup ipv4 IP forward
|
||||
ansible.posix.sysctl:
|
||||
sysctl:
|
||||
name: net.ipv4.ip_forward
|
||||
value: '1'
|
||||
sysctl_set: true
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
# vars file for wireguard
|
||||
_wireguard_interface_addr: "{{ ansible_default_ipv4.address | default(ansible_all_ipv4_addresses[0]) }}/{{ ansible_default_ipv4.netmask }}"
|
||||
wireguard_server_ip: "{{ wireguard_address | ansible.utils.ipaddr('network') | ansible.utils.ipmath(1) }}"
|
||||
wireguard_subnetmask: "{{ wireguard_address | ansible.utils.ipaddr('prefix') }}"
|
||||
wireguard_peers_allowed_ips: "{{ ([(_wireguard_interface_addr | ansible.utils.ipaddr('network/prefix'))] + (wireguard_additional_routes | default([]))) | join(\", \") }}"
|
||||
wireguard_server_ip: "{{ wireguard_address | ipaddr('network') | ipmath(1) }}"
|
||||
wireguard_subnetmask: "{{ wireguard_address | ipaddr('prefix') }}"
|
||||
wireguard_peers_allowed_ips: "{{ ([(_wireguard_interface_addr | ipaddr('network/prefix'))] + (wireguard_additional_routes | default([]))) | join(\", \") }}"
|
Loading…
Reference in New Issue
Block a user