roles/hostname: Fixed setting hostname in /etc/hostname: Added newline

wip
Felix Stupp 6 years ago
parent f2c6d0d249
commit 401d9bbb16
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -2,7 +2,7 @@
- name: Set local hostname - name: Set local hostname
copy: copy:
content: "{{ hostname }}" content: "{{ hostname }}\n"
dest: /etc/hostname dest: /etc/hostname
notify: restart systemd-hostnamed notify: restart systemd-hostnamed

Loading…
Cancel
Save