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
9e0d18c8
Commit
9e0d18c8
authored
Jan 14, 2014
by
John Jarvis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
always show extra vars
parent
ff6f488a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
util/jenkins/ansible-provision.sh
+4
-2
No files found.
util/jenkins/ansible-provision.sh
View file @
9e0d18c8
...
...
@@ -85,7 +85,7 @@ ssh-keygen -f "/var/lib/jenkins/.ssh/known_hosts" -R "$deploy_host"
if
[[
-z
$WORKSPACE
]]
;
then
dir
=
$(
dirname
$0
)
source
"
$dir
/
ascii-convert
.sh"
source
"
$dir
/
create-var-file
.sh"
else
source
"
$WORKSPACE
/util/jenkins/create-var-file.sh"
fi
...
...
@@ -122,8 +122,8 @@ GH_USERS_PROMPT: '[$name_tag] '
elb:
$elb
EOF
cat
$extra_vars
# run the tasks to launch an ec2 instance from AMI
cat
$extra_vars
ansible-playbook edx_provision.yml
-i
inventory.ini
-e
"@
${
extra_vars
}
"
--user
ubuntu
if
[[
$server_type
==
"full_edx_installation"
]]
;
then
...
...
@@ -147,12 +147,14 @@ deploy[certs]=$certs
# If reconfigure was selected run non-deploy tasks for all roles
if
[[
$reconfigure
==
"true"
]]
;
then
cat
$extra_vars
ansible-playbook edx_continuous_integration.yml
-i
"
${
deploy_host
}
,"
-e
"@
${
extra_vars
}
"
--user
ubuntu
--skip-tags
deploy
fi
# Run deploy tasks for the roles selected
for
i
in
"
${
!deploy[@]
}
"
;
do
if
[[
${
deploy
[
$i
]
}
==
"true"
]]
;
then
cat
$extra_vars
ansible-playbook
${
i
}
.yml
-i
"
${
deploy_host
}
,"
-e
"@
${
extra_vars
}
"
--user
ubuntu
--tags
deploy
fi
done
...
...
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