Commit 7ba6be16 by Feanil Patel

Setup alton to run with a local redis.

parent 8ebe3a30
......@@ -22,7 +22,7 @@ ALTON_V2_TOKEN: 'HIPCHAT_V2_TOKEN'
ALTON_ROOMS: 'Hammer'
ALTON_NAME: 'Alton W. Daemon'
ALTON_HANDLE: 'alton'
ALTON_REDIS_URL: 'redis://fakeuser:redispassword@redis.url:port'
ALTON_REDIS_URL: 'redis://fakeuser:redispassword@localhost:6379'
ALTON_HTTPSERVER_PORT: '8081'
alton_role_name: alton
......
......@@ -21,3 +21,4 @@
dependencies:
- supervisor
- redis
......@@ -23,6 +23,11 @@ Vagrant.configure("2") do |config|
# point Vagrant at the location of your playbook you want to run
ansible.playbook = "../../../playbooks/run_role.yml"
ansible.verbose = "extra"
ansible.extra_vars = { role: ENV['VAGRANT_ANSIBLE_ROLE'] }
ansible.extra_vars = {
role: ENV['VAGRANT_ANSIBLE_ROLE']
}
if ENV['VAGRANT_ANSIBLE_VARS_FILE']
ansible.raw_arguments = [ '-e@' + ENV['VAGRANT_ANSIBLE_VARS_FILE']]
end
end
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment