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
24536a61
Commit
24536a61
authored
Oct 31, 2016
by
Kevin Falcone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Run Ansible updates
parent
16332e9f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
1 deletions
+17
-1
util/jenkins/run-ansible.sh
+17
-1
No files found.
util/jenkins/run-ansible.sh
View file @
24536a61
...
...
@@ -56,6 +56,22 @@ else
ansible_ssh_user
=
"
${
ssh_user
}
"
fi
if
[[
-f
${
WORKSPACE
}
/configuration-internal/ansible/vars/
${
deployment_tag
}
.yml
]]
;
then
extra_var_args+
=
" -e@
${
WORKSPACE
}
/configuration-internal/ansible/vars/
${
deployment_tag
}
.yml"
fi
if
[[
-f
${
WORKSPACE
}
/configuration-internal/ansible/vars/
${
environment_tag
}
-
${
deployment_tag
}
.yml
]]
;
then
extra_var_args+
=
" -e@
${
WORKSPACE
}
/configuration-internal/ansible/vars/
${
environment_tag
}
-
${
deployment_tag
}
.yml"
fi
if
[[
-f
${
WORKSPACE
}
/configuration-secure/ansible/vars/
${
deployment_tag
}
.yml
]]
;
then
extra_var_args+
=
" -e@
${
WORKSPACE
}
/configuration-secure/ansible/vars/
${
deployment_tag
}
.yml"
fi
if
[[
-f
${
WORKSPACE
}
/configuration-secure/ansible/vars/
${
environment_tag
}
-
${
deployment_tag
}
.yml
]]
;
then
extra_var_args+
=
" -e@
${
WORKSPACE
}
/configuration-secure/ansible/vars/
${
environment_tag
}
-
${
deployment_tag
}
.yml"
fi
export
PYTHONUNBUFFERED
=
1
env
ansible-playbook
-v
-D
-u
$ansible_ssh_user
$ansible_play
-i
./ec2.py
$ansible_task_tags
--limit
$ansible_limit
-e
@
"
$WORKSPACE
/configuration-secure/ansible/vars/
${
deployment_tag
}
.yml"
-e
@
"
$WORKSPACE
/configuration-secure/ansible/vars/
${
environment_tag
}
-
${
deployment_tag
}
.yml"
$ansible_extra_vars
ansible-playbook
-v
-D
-u
$ansible_ssh_user
$ansible_play
-i
./ec2.py
$ansible_task_tags
--limit
$ansible_limit
$extra_var_args
$ansible_extra_vars
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