~patrick-hetu/charms/precise/python-django/ansible_reboot

« back to all changes in this revision

Viewing changes to playbooks/roles/django-settings-injection/templates/redis_engine.py.j2

  • Committer: Patrick Hetu
  • Date: 2014-07-10 20:13:32 UTC
  • Revision ID: patrick.hetu@gmail.com-20140710201332-u3f8vdb6z31dtqnr
rename variables and use shim.yml to bridge with Juju

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#--------------------------------------------------------------
2
 
# This file is managed by Juju; ANY CHANGES WILL BE OVERWRITTEN
3
 
#--------------------------------------------------------------
4
 
 
5
 
REDIS = {
6
 
    'host': '{{ current_relation.hostname }}',
7
 
    'port': {{ current_relation.port }},
8
 
    'db': 0,
9
 
}