From 94bc98c7619a6f721bd5d68f434d04434d5273eb Mon Sep 17 00:00:00 2001 From: Carlos Konstanski Date: Thu, 11 Jan 2018 09:32:11 -0700 Subject: stuff --- salt/openbook/ansible/files/openbook.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'salt/openbook') diff --git a/salt/openbook/ansible/files/openbook.yaml b/salt/openbook/ansible/files/openbook.yaml index 44a0081..a2d9688 100644 --- a/salt/openbook/ansible/files/openbook.yaml +++ b/salt/openbook/ansible/files/openbook.yaml @@ -36,7 +36,7 @@ regexp: "{% raw %}{{ item.regexp }}{% endraw %}" line: "{% raw %}{{ item.line }}{% endraw %}" with_items: - - { regexp: '^127\.0\.0\.1.*$', line: "127.0.0.1 localhost {% raw %}{{ ansible_nodename }}{% endraw %}" } + - { regexp: '^127\.0\.0\.1.*$', line: "127.0.0.1 localhost {% raw %}{{ inventory_hostname }} {{ ansible_nodename }}{% endraw %}" } - name: "Create Openbook directories" file: -- cgit v1.3