aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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