Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
configuration
Commits
7ba6be16
Commit
7ba6be16
authored
Jun 06, 2014
by
Feanil Patel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Setup alton to run with a local redis.
parent
8ebe3a30
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
+8
-2
playbooks/roles/alton/defaults/main.yml
+1
-1
playbooks/roles/alton/meta/main.yml
+1
-0
vagrant/base/test_role/Vagrantfile
+6
-1
No files found.
playbooks/roles/alton/defaults/main.yml
View file @
7ba6be16
...
...
@@ -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
...
...
playbooks/roles/alton/meta/main.yml
View file @
7ba6be16
...
...
@@ -21,3 +21,4 @@
dependencies
:
-
supervisor
-
redis
vagrant/base/test_role/Vagrantfile
View file @
7ba6be16
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment