summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--roles/mote/tasks/main.yml1
-rw-r--r--roles/mote/templates/mote_config.py8
2 files changed, 7 insertions, 2 deletions
diff --git a/roles/mote/tasks/main.yml b/roles/mote/tasks/main.yml
index adf7f54db..e53404141 100644
--- a/roles/mote/tasks/main.yml
+++ b/roles/mote/tasks/main.yml
@@ -21,7 +21,6 @@
- config
notify:
- restart apache
- - restart memcached
- name: apply selinux type to static files
file: >
diff --git a/roles/mote/templates/mote_config.py b/roles/mote/templates/mote_config.py
index 8af7c7217..70d852743 100644
--- a/roles/mote/templates/mote_config.py
+++ b/roles/mote/templates/mote_config.py
@@ -29,11 +29,17 @@ Development Configuration
enable_debug = True
app_port = 5000
+app_host = "127.0.0.1"
'''
General Configuration
'''
-app_host = "127.0.0.1"
admin_groups = ["sysadmin-mote"]
memcached_ip = "127.0.0.1:11211"
+# memcached must be installed for this feature
+use_memcached = False # Use a memcached store for greater performance
+
+# JSON cache store location
+json_cache_location = "/tmp/mote/cache.json"
+