summaryrefslogtreecommitdiff
path: root/salt/openbook/ansible
diff options
context:
space:
mode:
authorCarlos Konstanski <ckonstanski@pippiandcarlos.com>2018-01-11 09:32:11 -0700
committerCarlos Konstanski <ckonstanski@pippiandcarlos.com>2018-01-11 09:32:11 -0700
commit94bc98c7619a6f721bd5d68f434d04434d5273eb (patch)
treed53b077e550efabc653b99eb38a12727f983b771 /salt/openbook/ansible
parentec19c2586e0b03de248e87341986090e308dc517 (diff)
stuff
Diffstat (limited to 'salt/openbook/ansible')
-rw-r--r--salt/openbook/ansible/files/openbook.yaml2
1 files changed, 1 insertions, 1 deletions
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: