Commit ff8649dd authored by G33tha's avatar G33tha
Browse files

Issue #000 feat: updated player variable file

No related merge requests found
Showing with 3 additions and 3 deletions
+3 -3
......@@ -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 undefined and cdn_file_path is undefined
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 undefined and cdn_file_path is undefined
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 undefined and cdn_file_path is undefined
when: sunbird_portal_cdn_url is defined and cdn_file_path is defined
- name: rename template
template:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment