commit 99229682dbbc23f1d150e618cb9f8ee43ad6ec60
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Thu Feb 8 18:45:05 2018 +0100
fixup
roles/squid/tasks/main.yml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/roles/squid/tasks/main.yml b/roles/squid/tasks/main.yml
index a2b9737..7bea338 100644
--- a/roles/squid/tasks/main.yml
+++ b/roles/squid/tasks/main.yml
@@ -35,7 +35,7 @@
- name: squid.conf
template: src={{item}} dest=/etc/squid/squid.conf mode=0640 owner=root group=squid
with_first_found:
- - "{{files}}/squid/squid.conf.{{ansible_hostname}}"
+ - "{{files}}/squid/squid.conf.{{inventory_hostname}}"
- "{{files}}/squid/squid.conf.{{datacenter}}"
- "{{files}}/squid/squid.conf"
notify: