|
@@ -0,0 +1,22 @@
|
|
|
+---
|
|
|
+- name: Package cache updated
|
|
|
+ shell: pkg update -f
|
|
|
+
|
|
|
+- name: DBus and Avahi packages installed
|
|
|
+ pkgng:
|
|
|
+ name: "avahi-app nss_mdns dbus"
|
|
|
+ state: present
|
|
|
+
|
|
|
+- name: DBus enabled
|
|
|
+ shell: sysrc dbus_enable="YES"
|
|
|
+
|
|
|
+- name: Avahi enabled
|
|
|
+ shell: sysrc avahi_daemon_enable="YES"
|
|
|
+
|
|
|
+- name: NSS switch config file installed
|
|
|
+ patch:
|
|
|
+ src: nsswitch.patch
|
|
|
+ dest: /etc/nsswitch.conf
|
|
|
+ notify:
|
|
|
+ - DBus restarted
|
|
|
+ - Avahi restarted
|