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
8a2ee1ac
Commit
8a2ee1ac
authored
Apr 29, 2015
by
Feanil Patel
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1972 from edx/feanil/update_ansible_provision
Use ansible instead of scp.
parents
6fac27eb
39e9c080
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
+5
-1
util/jenkins/ansible-provision.sh
+5
-1
No files found.
util/jenkins/ansible-provision.sh
View file @
8a2ee1ac
...
...
@@ -262,7 +262,11 @@ fi
run_ansible edx_ansible.yml
-i
"
${
deploy_host
}
,"
$extra_var_arg
--user
ubuntu
cat
$extra_vars_file
|
grep
-v
"_version"
>
${
extra_vars_file
}
_clean
cat
${
extra_vars_file
}
_clean
scp
${
extra_vars_file
}
_clean ubuntu@
${
deploy_host
}
:/edx/app/edx_ansible/server-vars.yml
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
exit
$ret
fi
# set the hostname
run_ansible set_hostname.yml
-i
"
${
deploy_host
}
,"
-e
hostname_fqdn
=
${
deploy_host
}
--user
ubuntu
...
...
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