aboutsummaryrefslogtreecommitdiff
path: root/tasks/main.yml
diff options
context:
space:
mode:
authorChristian Segundo2023-05-06 23:59:06 +0200
committerChristian Segundo2023-05-06 23:59:06 +0200
commit2a5f2a08c80ca142e9a7c3cec8cb4ce88ab6ae1c (patch)
treeaf5e4ee713eabec2cb3e3f5107607c7c66278629 /tasks/main.yml
downloadavahi-2a5f2a08c80ca142e9a7c3cec8cb4ce88ab6ae1c.tar.gz
First commit
Diffstat (limited to 'tasks/main.yml')
-rw-r--r--tasks/main.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/tasks/main.yml b/tasks/main.yml
new file mode 100644
index 0000000..6c08fb3
--- /dev/null
+++ b/tasks/main.yml
@@ -0,0 +1,15 @@
+---
+- name: Install daemon
+ apt:
+ name: avahi-daemon
+
+- name: Enable and start avahi-daemon
+ systemd:
+ name: avahi-daemon
+ state: started
+ enabled: true
+
+- include_tasks: service-group.yml
+ loop: "{{ avahi_service_groups }}"
+ loop_control:
+ loop_var: avahi_service_group