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
e705f590
Commit
e705f590
authored
Dec 12, 2017
by
Cory Lee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
OPS-2532 Dont download tars if you already have them
parent
8a065a45
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
playbooks/roles/splunk-server/tasks/main.yml
+5
-3
No files found.
playbooks/roles/splunk-server/tasks/main.yml
View file @
e705f590
...
...
@@ -179,15 +179,17 @@
-
install:configuration
with_items
:
-
"
{{
SPLUNK_APP_TARS
}}"
ignore_errors
:
True
-
name
:
download missing tars
shell
:
"
aws
s3
cp
{{
SPLUNK_APP_S3_PATH
}}/{{
item.
file_name
}}
{{
SPLUNK_APP_DOWNLOAD_PATH
}}/{{
item
.file_name
}}"
shell
:
"
aws
s3
cp
{{
SPLUNK_APP_S3_PATH
}}/{{
item.
1.file_name
}}
{{
SPLUNK_APP_DOWNLOAD_PATH
}}/{{
item.1
.file_name
}}"
tags
:
-
install
-
install:configuration
when
:
item.rc != 0
with_
items
:
when
:
item.
0.
rc != 0
with_
together
:
-
"
{{
app_present.results
}}"
-
"
{{
SPLUNK_APP_TARS
}}"
-
name
:
verify app checksums
shell
:
"
echo
\"
{{
item.md5sum
}}
{{
SPLUNK_APP_DOWNLOAD_PATH
}}/{{
item.file_name
}}
\"
|
md5sum
-c
--status"
...
...
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