summaryrefslogtreecommitdiff
path: root/roles/wireguard
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2018-12-09 13:32:22 +0100
committerChristian Pointner <equinox@spreadspace.org>2018-12-09 13:32:22 +0100
commiteea8a11fbfe39af00eac885a260fc54edd7b7ec7 (patch)
tree49503b3c477b5d84fa62e99c31ce95da4eeb2483 /roles/wireguard
parentMerge branch 'new-repo-structure' (diff)
apt without with_items
Diffstat (limited to 'roles/wireguard')
-rw-r--r--roles/wireguard/tasks/main.yml5
1 files changed, 2 insertions, 3 deletions
diff --git a/roles/wireguard/tasks/main.yml b/roles/wireguard/tasks/main.yml
index a9d42b7b..11761c33 100644
--- a/roles/wireguard/tasks/main.yml
+++ b/roles/wireguard/tasks/main.yml
@@ -1,11 +1,10 @@
---
- name: install wireguard packages
apt:
- name: "{{ item }}"
- state: present
- with_items:
+ name:
- wireguard-dkms
- wireguard-tools
+ state: present
- name: check if module is available for the currently running kernel
command: modprobe --dry-run wireguard