From c299d4626127a2cd8aee503bf4da81613761f18d Mon Sep 17 00:00:00 2001 From: Niklas Yann Wettengel Date: Wed, 8 Aug 2018 23:15:43 +0200 Subject: call pacman only once --- roles/install_wireguard/tasks/main.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'roles/install_wireguard/tasks/main.yml') diff --git a/roles/install_wireguard/tasks/main.yml b/roles/install_wireguard/tasks/main.yml index 1e47116..74bcc86 100644 --- a/roles/install_wireguard/tasks/main.yml +++ b/roles/install_wireguard/tasks/main.yml @@ -1,10 +1,5 @@ --- - name: install wireguard pacman: - name: "{{ item }}" + name: ['wireguard-dkms', 'wireguard-tools', 'linux-headers'] state: present - with_items: - - wireguard-dkms - - wireguard-tools - - linux-headers - -- cgit v1.2.3-54-g00ecf