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

View File

@ -110,7 +110,7 @@
lineinfile: lineinfile:
dest: /etc/hosts dest: /etc/hosts
regexp: '^127\.0\.1\.1[ \t]+raspberrypi' 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 state: present
when: hostname.changed when: hostname.changed