aboutsummaryrefslogtreecommitdiffstats
path: root/roles/space_server/tasks
diff options
context:
space:
mode:
authorEmil Renner Berthing <esmil@labitat.dk>2018-09-25 21:35:22 +0200
committerEmil Renner Berthing <esmil@labitat.dk>2018-09-25 21:35:22 +0200
commit58844e9c83370bad5e18483476cf9f43cab7c6ea (patch)
tree28b6125c8801424ea4482a8227c632473713a0b8 /roles/space_server/tasks
parent32d08914580a084c47a087704efece93bd790f0c (diff)
downloadlabitat-ansible-58844e9c83370bad5e18483476cf9f43cab7c6ea.tar.gz
labitat-ansible-58844e9c83370bad5e18483476cf9f43cab7c6ea.tar.xz
labitat-ansible-58844e9c83370bad5e18483476cf9f43cab7c6ea.zip
space_server: avahi: install packages in one go
Diffstat (limited to 'roles/space_server/tasks')
-rw-r--r--roles/space_server/tasks/avahi.yml14
1 files changed, 5 insertions, 9 deletions
diff --git a/roles/space_server/tasks/avahi.yml b/roles/space_server/tasks/avahi.yml
index ca93893..c8baa77 100644
--- a/roles/space_server/tasks/avahi.yml
+++ b/roles/space_server/tasks/avahi.yml
@@ -1,15 +1,11 @@
---
-- name: Install avahi and tools
+- name: Install avahi, tools and nss-mdns
dnf:
- name: avahi-tools # pulls in avahi package
- state: present
- tags:
- - packages
-
-- name: Install nss-mdns package
- dnf:
- name: nss-mdns
+ name: '{{ item }}'
state: present
+ with_items:
+ - avahi-tools # pulls in avahi package
+ - nss-mdns
tags:
- packages