change quotes to allow tab expansion

This commit is contained in:
Cassiano Aquino 2019-10-21 17:58:00 +01:00
parent 7a721be7dc
commit 84fa293a11
No known key found for this signature in database
GPG Key ID: 2480258091054B09

View File

@ -110,7 +110,7 @@
lineinfile:
dest: /etc/hosts
regexp: '^127\.0\.1\.1[ \t]+raspberrypi'
line: '127.0.1.1\t{{pwnagotchi.hostname}}'
line: "127.0.1.1\t{{pwnagotchi.hostname}}"
state: present
when: hostname.changed