summaryrefslogtreecommitdiffstats
path: root/installer/roles/local_docker/templates
diff options
context:
space:
mode:
authorErik Berg <ansible@slipsprogrammor.no>2019-11-18 16:22:12 +0100
committerErik Berg <ansible@slipsprogrammor.no>2019-11-18 16:22:12 +0100
commitf5fc0871fc957e5921204bade51ecb8e06bf1c9e (patch)
tree0c7e115ef0a7dfdb7d2aa8f0dcd38c05cf9100e8 /installer/roles/local_docker/templates
parentMerge pull request #5339 from eb4x/rabbitmq_hostname (diff)
downloadawx-f5fc0871fc957e5921204bade51ecb8e06bf1c9e.tar.xz
awx-f5fc0871fc957e5921204bade51ecb8e06bf1c9e.zip
Consistent naming scheme; memcached_host -> memcached_hostname
environment.sh uses hostname for everything, and both environment and credentials provide a default of 'memcached', so this should also be one less variable to care about.
Diffstat (limited to 'installer/roles/local_docker/templates')
-rw-r--r--installer/roles/local_docker/templates/credentials.py.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/installer/roles/local_docker/templates/credentials.py.j2 b/installer/roles/local_docker/templates/credentials.py.j2
index 7e8e4cbb0a..73951ca803 100644
--- a/installer/roles/local_docker/templates/credentials.py.j2
+++ b/installer/roles/local_docker/templates/credentials.py.j2
@@ -26,7 +26,7 @@ CHANNEL_LAYERS = {
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
- 'LOCATION': '{}:{}'.format("{{ memcached_host }}", "{{ memcached_port }}")
+ 'LOCATION': '{}:{}'.format("{{ memcached_hostname }}", "{{ memcached_port }}")
},
'ephemeral': {
'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',