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
0b735e37
Commit
0b735e37
authored
Oct 12, 2017
by
muhammad-ammar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup
parent
4f450aa7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
15 deletions
+5
-15
util/jenkins/ansible-provision.sh
+0
-3
vagrant/base/test_playbook/Vagrantfile
+5
-12
No files found.
util/jenkins/ansible-provision.sh
View file @
0b735e37
...
@@ -359,10 +359,7 @@ video_pipeline="true"
...
@@ -359,10 +359,7 @@ video_pipeline="true"
declare
-A
deploy
declare
-A
deploy
roles
=
"edxapp forum ecommerce credentials discovery video_pipeline notifier xqueue xserver certs demo testcourses"
roles
=
"edxapp forum ecommerce credentials discovery video_pipeline notifier xqueue xserver certs demo testcourses"
echo
"Roles ====>"
echo
$roles
for
role
in
$roles
;
do
for
role
in
$roles
;
do
echo
$role
deploy[
$role
]=
${
!role
}
deploy[
$role
]=
${
!role
}
done
done
...
...
vagrant/base/test_playbook/Vagrantfile
View file @
0b735e37
...
@@ -2,33 +2,26 @@
...
@@ -2,33 +2,26 @@
# under /playbooks (e.g., "foo.yml"), export its name (e.g., "foo") as the value
# under /playbooks (e.g., "foo.yml"), export its name (e.g., "foo") as the value
# of the environment variable VAGRANT_ANSIBLE_PLAYBOOK, and execute `vagrant up`
# of the environment variable VAGRANT_ANSIBLE_PLAYBOOK, and execute `vagrant up`
# from within this directory.
# from within this directory.
MEMORY
=
1024
MEMORY
=
2048
CPU_COUNT
=
2
CPU_COUNT
=
2
Vagrant
.
configure
(
"2"
)
do
|
config
|
Vagrant
.
configure
(
"2"
)
do
|
config
|
config
.
vm
.
box
=
"ubuntu_xenial"
config
.
vm
.
box
=
"xenial64"
config
.
vm
.
box_url
=
"http://files.vagrantup.com/xenial64.box"
config
.
vm
.
network
:private_network
,
ip:
"192.168.33.20"
config
.
vm
.
network
:private_network
,
ip:
"192.168.33.20"
config
.
vm
.
network
:forwarded_port
,
guest:
8555
,
host:
8555
config
.
vm
.
network
:forwarded_port
,
guest:
8080
,
host:
8080
config
.
ssh
.
insert_key
=
true
config
.
vm
.
provider
:virtualbox
do
|
vb
|
config
.
vm
.
provider
:virtualbox
do
|
vb
|
vb
.
customize
[
"modifyvm"
,
:id
,
"--memory"
,
MEMORY
.
to_s
]
vb
.
customize
[
"modifyvm"
,
:id
,
"--memory"
,
MEMORY
.
to_s
]
# You can adjust this to the amount of CPUs your system has available
# You can adjust this to the amount of CPUs your system has available
vb
.
customize
[
"modifyvm"
,
:id
,
"--cpus"
,
CPU_COUNT
.
to_s
]
vb
.
customize
[
"modifyvm"
,
:id
,
"--cpus"
,
CPU_COUNT
.
to_s
]
vb
.
customize
[
'modifyvm'
,
:id
,
'--nictype1'
,
'virtio'
]
end
end
config
.
ssh
.
forward_x11
=
true
config
.
vm
.
provision
:ansible
do
|
ansible
|
config
.
vm
.
provision
:ansible
do
|
ansible
|
ansible
.
playbook
=
"../../../playbooks/"
+
ENV
[
'VAGRANT_ANSIBLE_PLAYBOOK'
]
+
".yml"
ansible
.
playbook
=
"../../../playbooks/"
+
ENV
[
'VAGRANT_ANSIBLE_PLAYBOOK'
]
+
".yml"
ansible
.
verbose
=
"vvvv"
ansible
.
verbose
=
"extra"
ansible
.
extra_vars
=
{
edx_django_service_version:
'ammar/changes-for-config'
}
end
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