Commit dfc18924 by John Eskew Committed by Feanil Patel

Fixes to previous syntax fixes - regex.

parent b876461c
......@@ -14,6 +14,6 @@
- name: Update /etc/hosts
lineinfile:
dest: /etc/hosts
regexp: "^127\.0\.1\.1"
regexp: "^127\\.0\\.1\\.1"
line: "127.0.1.1{{ '\t' }}{{ hostname_fqdn.split('.')[0] }}{{ '\t' }}{{ hostname_fqdn }}{{ '\t' }}localhost"
state: present
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment