mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 18:09:57 -03:30
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.
This commit is contained in:
parent
a1f7f967e3
commit
f5fc0871fc
@ -16,6 +16,6 @@ postgresql_image: "postgres:{{postgresql_version}}"
|
||||
|
||||
memcached_image: "memcached"
|
||||
memcached_version: "alpine"
|
||||
memcached_host: "memcached"
|
||||
memcached_hostname: "memcached"
|
||||
memcached_port: "11211"
|
||||
|
||||
|
||||
@ -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',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user