aboutsummaryrefslogtreecommitdiffstats
path: root/roles/space_server/tasks/avahi.yml
diff options
context:
space:
mode:
authorEmil Renner Berthing <esmil@labitat.dk>2018-09-25 20:51:37 +0200
committerEmil Renner Berthing <esmil@labitat.dk>2018-09-25 21:05:52 +0200
commit32d08914580a084c47a087704efece93bd790f0c (patch)
tree45879c6c8d8853ae8ebbb004860f08b27d59d1e3 /roles/space_server/tasks/avahi.yml
parent91b2e28e5252413b8cd74c670bcec50503138cfb (diff)
downloadlabitat-ansible-32d08914580a084c47a087704efece93bd790f0c.tar.gz
labitat-ansible-32d08914580a084c47a087704efece93bd790f0c.tar.xz
labitat-ansible-32d08914580a084c47a087704efece93bd790f0c.zip
Keep consistent ordering of rules
Do - name: ... module: dest/path: 'destination on target' src: ... state: ... owner: ... group: ... mode: ... with_*: ... notify: ... tags: ...
Diffstat (limited to 'roles/space_server/tasks/avahi.yml')
-rw-r--r--roles/space_server/tasks/avahi.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/roles/space_server/tasks/avahi.yml b/roles/space_server/tasks/avahi.yml
index 25b52ea..ca93893 100644
--- a/roles/space_server/tasks/avahi.yml
+++ b/roles/space_server/tasks/avahi.yml
@@ -15,7 +15,7 @@
- name: Configure avahi-daemon
ini_file:
- path: /etc/avahi/avahi-daemon.conf
+ path: '/etc/avahi/avahi-daemon.conf'
no_extra_spaces: yes
section: '{{ item.section }}'
option: '{{ item.option }}'
@@ -80,8 +80,8 @@
- name: Configure hosts
template:
- src: avahi/hosts.j2
dest: '/etc/avahi/hosts'
+ src: avahi/hosts.j2
owner: root
group: root
mode: 0644
@@ -103,7 +103,7 @@
- name: Use nss-mdns
lineinfile:
- path: /etc/nsswitch.conf
+ path: '/etc/nsswitch.conf'
regexp: '^hosts:'
line: 'hosts: files mdns_minimal [NOTFOUND=return] dns myhostname'