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
ff8649dd
Commit
ff8649dd
authored
5 years ago
by
G33tha
Browse files
Options
Download
Patches
Plain Diff
Issue #000 feat: updated player variable file
parent
72c10a15
3nodeinstall
3node-2.6.0
release-2.6.0-k8s_9467d13
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
kubernetes/ansible/roles/deploy-player/tasks/main.yml
+3
-3
kubernetes/ansible/roles/deploy-player/tasks/main.yml
with
3 additions
and
3 deletions
+3
-3
kubernetes/ansible/roles/deploy-player/tasks/main.yml
+
3
−
3
View file @
ff8649dd
...
...
@@ -9,11 +9,11 @@
-
name
:
copy new index file
copy
:
src="{{cdn_file_path}}" dest="/var/lib/jenkins/player_config/index_cdn.ejs" mode=0644
when
:
sunbird_portal_cdn_url is
un
defined and cdn_file_path is
un
defined
when
:
sunbird_portal_cdn_url is defined and
cdn_file_path is defined
-
name
:
remove whitespaces in index file
shell
:
'
sed
-i
s/\\s\\+$//e
/var/lib/jenkins/player_config/index_cdn.ejs'
when
:
sunbird_portal_cdn_url is
un
defined and cdn_file_path is
un
defined
when
:
sunbird_portal_cdn_url is defined and cdn_file_path is defined
-
name
:
Remove the existing CDN config
shell
:
"
kubectl
delete
configmap
player-cdn-config
--namespace={{namespace}}"
...
...
@@ -21,7 +21,7 @@
-
name
:
Create player-cdn configmap
shell
:
"
kubectl
create
configmap
player-cdn-config
--from-file=/var/lib/jenkins/player_config/index_cdn.ejs
--namespace={{namespace}}"
when
:
sunbird_portal_cdn_url is
un
defined and cdn_file_path is
un
defined
when
:
sunbird_portal_cdn_url is defined and cdn_file_path is defined
-
name
:
rename template
template
:
...
...
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