Skip to content

Commit

Permalink
Re-ordering of hostnames for correct resolution. Closes #5
Browse files Browse the repository at this point in the history
  • Loading branch information
pjan vandaele committed Jul 11, 2014
1 parent 97f2be0 commit e6b5894
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@
lineinfile:
dest: /etc/hosts
regexp: "^127.0.0.1"
line: "127.0.0.1{{'\t'}}localhost{{'\t'}}{{inventory_hostname}}{% if inventory_hostname != inventory_hostname_short %}{{'\t'}}{{inventory_hostname_short}}{% endif %}"
line: "127.0.0.1{{'\t'}}{{inventory_hostname}}{% if inventory_hostname != inventory_hostname_short %}{{'\t'}}{{inventory_hostname_short}}{% endif %}{{'\t'}}localhost"
state: present

0 comments on commit e6b5894

Please sign in to comment.