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
7be5a3b4
Commit
7be5a3b4
authored
Jul 07, 2014
by
Han Su Kim
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1281 from edx/han/ansible-provision.sh
Taking out verbose mode
parents
570ac420
39f88ff4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
util/jenkins/ansible-provision.sh
+7
-7
No files found.
util/jenkins/ansible-provision.sh
View file @
7be5a3b4
...
...
@@ -201,13 +201,13 @@ EOF
# run the tasks to launch an ec2 instance from AMI
cat
$extra_vars_file
ansible-playbook edx_provision.yml
-i
inventory.ini
$extra_var_arg
--user
ubuntu
-v
-D
ansible-playbook edx_provision.yml
-i
inventory.ini
$extra_var_arg
--user
ubuntu
if
[[
$server_type
==
"full_edx_installation"
]]
;
then
# additional tasks that need to be run if the
# entire edx stack is brought up from an AMI
ansible-playbook rabbitmq.yml
-i
"
${
deploy_host
}
,"
$extra_var_arg
--user
ubuntu
-D
ansible-playbook restart_supervisor.yml
-i
"
${
deploy_host
}
,"
$extra_var_arg
--user
ubuntu
-D
ansible-playbook rabbitmq.yml
-i
"
${
deploy_host
}
,"
$extra_var_arg
--user
ubuntu
ansible-playbook restart_supervisor.yml
-i
"
${
deploy_host
}
,"
$extra_var_arg
--user
ubuntu
fi
fi
...
...
@@ -221,7 +221,7 @@ done
# run non-deploy tasks for all roles
if
[[
$reconfigure
==
"true"
||
$server_type
==
"full_edx_installation_from_scratch"
]]
;
then
cat
$extra_vars_file
ansible-playbook edx_continuous_integration.yml
-i
"
${
deploy_host
}
,"
$extra_var_arg
--user
ubuntu
-D
ansible-playbook edx_continuous_integration.yml
-i
"
${
deploy_host
}
,"
$extra_var_arg
--user
ubuntu
fi
if
[[
$reconfigure
!=
"true"
&&
$server_type
==
"full_edx_installation"
]]
;
then
...
...
@@ -229,15 +229,15 @@ if [[ $reconfigure != "true" && $server_type == "full_edx_installation" ]]; then
for
i
in
$roles
;
do
if
[[
${
deploy
[
$i
]
}
==
"true"
]]
;
then
cat
$extra_vars_file
ansible-playbook
${
i
}
.yml
-i
"
${
deploy_host
}
,"
$extra_var_arg
--user
ubuntu
--tags
deploy
-v
-D
ansible-playbook
${
i
}
.yml
-i
"
${
deploy_host
}
,"
$extra_var_arg
--user
ubuntu
--tags
deploy
fi
done
fi
# deploy the edx_ansible role
ansible-playbook edx_ansible.yml
-i
"
${
deploy_host
}
,"
$extra_var_arg
--user
ubuntu
-D
ansible-playbook edx_ansible.yml
-i
"
${
deploy_host
}
,"
$extra_var_arg
--user
ubuntu
# set the hostname
ansible-playbook set_hostname.yml
-i
"
${
deploy_host
}
,"
-e
hostname_fqdn
=
${
deploy_host
}
--user
ubuntu
-D
ansible-playbook set_hostname.yml
-i
"
${
deploy_host
}
,"
-e
hostname_fqdn
=
${
deploy_host
}
--user
ubuntu
rm
-f
"
$extra_vars_file
"
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