File tree Expand file tree Collapse file tree 3 files changed +1
-21
lines changed Expand file tree Collapse file tree 3 files changed +1
-21
lines changed Original file line number Diff line number Diff line change 23
23
default_routing_metric : 100
24
24
default_keepalive : 5
25
25
log_output_lines : 10
26
- wg_svc : ' wg-quick'
27
- controller_required_mods : ['netaddr']
26
+ wg_svc : ' wg-quick'
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 12
12
when : " inventory_hostname not in wireguard.topologies | flatten_hosts"
13
13
tags : [purge, tunnels, config]
14
14
15
- - name : Wireguard | Installing dependencies on controller
16
- ansible.builtin.pip :
17
- name : " {{ WG_HC.controller_required_mods }}"
18
- state : present
19
- delegate_to : localhost
20
- register : install_controller_requirements
21
- ignore_errors : true
22
- become : false
23
- run_once : true
24
-
25
- - name : Wireguard | Missing dependency
26
- ansible.builtin.fail :
27
- msg : " You need to install the python module 'netaddr' for this role to work correctly!"
28
- when :
29
- - install_controller_requirements.failed is defined
30
- - install_controller_requirements.failed
31
-
32
15
- name : Wireguard | Processing debian config
33
16
ansible.builtin.import_tasks : debian/main.yml
34
17
when : " ansible_distribution|lower in ['debian', 'ubuntu']"
You can’t perform that action at this time.
0 commit comments