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
e5677666
Commit
e5677666
authored
9 years ago
by
Feanil Patel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update to produce a file that is only one YAML document.
parent
886d224c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
+1
-2
util/jenkins/ansible-provision.sh
+1
-2
No files found.
util/jenkins/ansible-provision.sh
View file @
e5677666
...
...
@@ -123,7 +123,6 @@ ssh-keygen -f "/var/lib/jenkins/.ssh/known_hosts" -R "$deploy_host"
cd
playbooks/edx-east
cat
<<
EOF
>
$extra_vars_file
---
ansible_ssh_private_key_file: /var/lib/jenkins/
${
keypair
}
.pem
edx_platform_version:
$edxapp_version
forum_version:
$forum_version
...
...
@@ -262,7 +261,7 @@ fi
# deploy the edx_ansible role
run_ansible edx_ansible.yml
-i
"
${
deploy_host
}
,"
$extra_var_arg
--user
ubuntu
cat
$
extra_vars_file
$sandbox_vars_file
|
grep
-v
-E
"_version|migrate_db"
>
${
extra_vars_file
}
_clean
cat
$
sandbox_vars_file
$extra_vars_file
|
grep
-v
-E
"_version|migrate_db"
>
${
extra_vars_file
}
_clean
ansible
-c
ssh
-i
"
${
deploy_host
}
,"
$deploy_host
-m
copy
-a
"src=
${
extra_vars_file
}
_clean dest=/edx/app/edx_ansible/server-vars.yml"
-u
ubuntu
-b
ret
=
$?
if
[[
$ret
-ne
0
]]
;
then
...
...
This diff is collapsed.
Click to expand it.
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