diff options
author | Chaoyi Zha <cydrobolt@fedoraproject.org> | 2015-06-11 23:23:37 +0000 |
---|---|---|
committer | Chaoyi Zha <cydrobolt@fedoraproject.org> | 2015-06-11 23:23:37 +0000 |
commit | 59924d35a40da58ad6cf24cb7050333924ce886c (patch) | |
tree | 441737c50fbfe043d3ed88febefa928572001688 | |
parent | 6642890bc4726fd1ef90b59249be1daae14292dc (diff) | |
download | ansible-59924d35a40da58ad6cf24cb7050333924ce886c.tar.gz ansible-59924d35a40da58ad6cf24cb7050333924ce886c.tar.xz ansible-59924d35a40da58ad6cf24cb7050333924ce886c.zip |
Update mote role, removing memcached dependency in favor of JSON store
-rw-r--r-- | roles/mote/tasks/main.yml | 1 | ||||
-rw-r--r-- | roles/mote/templates/mote_config.py | 8 |
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" + |