Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
uphrh-sb-devops
Commits
42470583
Unverified
Commit
42470583
authored
4 years ago
by
Keshav Prasad
Committed by
GitHub
4 years ago
Browse files
Options
Download
Patches
Plain Diff
fix: removing [[ to [
parent
93937757
release-3.4.0-shared-lib
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
vars/ansible_playbook_run.groovy
+1
-1
vars/ansible_playbook_run.groovy
with
1 addition
and
1 deletion
+1
-1
vars/ansible_playbook_run.groovy
+
1
−
1
View file @
42470583
...
...
@@ -30,7 +30,7 @@ def call(Map pipelineParams) {
inventory_path
=
"${pipelineParams.currentWs}/ansible/inventory/env"
sh
"""
cp --preserve=links ${pipelineParams.currentWs}/private/ansible/inventory/${pipelineParams.env}/${pipelineParams.module}/* ${pipelineParams.currentWs}/ansible/inventory/env/
if [
[
-f ${pipelineParams.currentWs}/ansible/inventory/env/kubernetes.yaml
]
]; then
if [ -f ${pipelineParams.currentWs}/ansible/inventory/env/kubernetes.yaml ]; then
cat ${pipelineParams.currentWs}/ansible/inventory/env/kubernetes.yaml >> ${pipelineParams.currentWs}/ansible/inventory/env/common.yaml
fi
ansible-playbook -i ${inventory_path} $pipelineParams.ansiblePlaybook $pipelineParams.ansibleExtraArgs
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets