Skip to content

Commit 7f692a9

Browse files
committed
Merge remote-tracking branch 'origin/latest' into latest
2 parents 41c4068 + 34445b3 commit 7f692a9

File tree

3 files changed

+1
-21
lines changed

3 files changed

+1
-21
lines changed

defaults/main/0_hardcoded.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,4 @@ WG_HC:
2323
default_routing_metric: 100
2424
default_keepalive: 5
2525
log_output_lines: 10
26-
wg_svc: 'wg-quick'
27-
controller_required_mods: ['netaddr']
26+
wg_svc: 'wg-quick'

requirements.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.

tasks/main.yml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,6 @@
1212
when: "inventory_hostname not in wireguard.topologies | flatten_hosts"
1313
tags: [purge, tunnels, config]
1414

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-
3215
- name: Wireguard | Processing debian config
3316
ansible.builtin.import_tasks: debian/main.yml
3417
when: "ansible_distribution|lower in ['debian', 'ubuntu']"

0 commit comments

Comments
 (0)