Commit 3688c716 by John Eskew Committed by Feanil Patel

Attempt at fixing test - remove escapes on IP dots.

parent 2655ae66
...@@ -14,6 +14,6 @@ ...@@ -14,6 +14,6 @@
- name: Update /etc/hosts - name: Update /etc/hosts
lineinfile: lineinfile:
dest: /etc/hosts 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" line: "127.0.1.1{{ '\t' }}{{ hostname_fqdn.split('.')[0] }}{{ '\t' }}{{ hostname_fqdn }}{{ '\t' }}localhost"
state: present 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