diff options
author | Christian Pointner <equinox@spreadspace.org> | 2019-10-23 20:26:43 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2019-10-23 20:26:43 +0200 |
commit | e654327704a926ccb292fadf47e2f184b3017771 (patch) | |
tree | eac09cfc9389ec9a70856921e80425268da1796e /roles/wireguard/tasks | |
parent | added wireguard role for ch-mimas2 (diff) |
rename wirguard role to wireguard/base
Diffstat (limited to 'roles/wireguard/tasks')
-rw-r--r-- | roles/wireguard/tasks/main.yml | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/roles/wireguard/tasks/main.yml b/roles/wireguard/tasks/main.yml deleted file mode 100644 index 11761c33..00000000 --- a/roles/wireguard/tasks/main.yml +++ /dev/null @@ -1,24 +0,0 @@ ---- -- name: install wireguard packages - apt: - name: - - wireguard-dkms - - wireguard-tools - state: present - -- name: check if module is available for the currently running kernel - command: modprobe --dry-run wireguard - check_mode: no - register: wireguard_module_available - failed_when: false - changed_when: false - -- name: rebuild wireguard module - when: wireguard_module_available.rc != 0 - command: dpkg-reconfigure wireguard-dkms - -- name: check again if module is available for the currently running kernel - when: wireguard_module_available.rc != 0 - command: modprobe --dry-run wireguard - check_mode: no - changed_when: false |