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
edx
configuration
Commits
0e350324
Commit
0e350324
authored
Jul 23, 2013
by
Feanil Patel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fully building vagrant fullstack image.
parent
21827d56
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
playbooks/roles/rabbitmq/tasks/main.yml
+0
-1
playbooks/roles/xqueue/tasks/main.yml
+3
-3
playbooks/roles/xserver/tasks/deploy.yml
+1
-0
vagrant/fullstack/Vagrantfile
+1
-1
No files found.
playbooks/roles/rabbitmq/tasks/main.yml
View file @
0e350324
...
...
@@ -8,7 +8,6 @@
-
name
:
install python-software-properties if debian
apt
:
pkg={{",".join(rabbitmq_debian_pkgs)}} state=present
when
:
ansible_distribution == 'Debian'
-
name
:
add rabbit repository
apt_repository
:
repo="{{rabbitmq_repository}}" state=present
...
...
playbooks/roles/xqueue/tasks/main.yml
View file @
0e350324
...
...
@@ -4,7 +4,7 @@
# - nginx/tasks/main.yml
---
-
name
:
Change permissions on datadir
file
:
path={{
xqueue_code_dir}}/..
/data state=directory owner=www-data group=www-data
file
:
path={{
app_base_dir}}
/data state=directory owner=www-data group=www-data
tags
:
-
xqueue
...
...
@@ -32,7 +32,7 @@
-
xqueue
-
name
:
create xqueue application config
template
:
src=xqueue.env.json.j2 dest={{
xqueue_code_dir}}/..
/env.json mode=0640 owner=www-data group=adm
template
:
src=xqueue.env.json.j2 dest={{
app_base_dir}}
/env.json mode=0640 owner=www-data group=adm
notify
:
-
restart xqueue
-
restart xqueue consumer
...
...
@@ -40,7 +40,7 @@
-
xqueue
-
name
:
create xqueue auth file
template
:
src=xqueue.auth.json.j2 dest={{
xqueue_code_dir}}/..
/auth.json mode=0640 owner=www-data group=adm
template
:
src=xqueue.auth.json.j2 dest={{
app_base_dir}}
/auth.json mode=0640 owner=www-data group=adm
notify
:
-
restart xqueue
-
restart xqueue consumer
...
...
playbooks/roles/xserver/tasks/deploy.yml
View file @
0e350324
...
...
@@ -32,6 +32,7 @@
git
:
dest={{xserver_grader_dir}} repo={{xserver_grader_source}} version={{xserver_grader_version}}
environment
:
GIT_SSH
:
/tmp/git_ssh.sh
when
:
c_skip_grader_checkout is not defined or c_skip_grader_checkout==False
tags
:
-
deploy
...
...
vagrant/fullstack/Vagrantfile
View file @
0e350324
...
...
@@ -19,7 +19,7 @@ Vagrant.configure("2") do |config|
ansible
.
playbook
=
"../../playbooks/vagrant-fullstack.yml"
ansible
.
inventory_file
=
"../../playbooks/vagrant/inventory.ini"
ansible
.
extra_vars
=
{
secure_dir:
"secure_example"
}
ansible
.
extra_vars
=
{
secure_dir:
"secure_example"
,
c_skip_grader_checkout:
'True'
}
ansible
.
verbose
=
true
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