diff --git a/ansible/deploy-plugins.yml b/ansible/deploy-plugins.yml index 4537c852a51830ae4b80be254b1efc52c4ec687e..b4e7a50d406176650da486eaaab98bdf0951c790 100644 --- a/ansible/deploy-plugins.yml +++ b/ansible/deploy-plugins.yml @@ -9,9 +9,9 @@ tasks: - name: rename env_domain in preview_cdn.html for CDN shell: | - echo "{{sunbird_portal_content_cdn_url}}" - sed -i 's|cdn_url|{{sunbird_portal_content_cdn_url}}|g' "{{currentws}}"/ansible/preview/preview_cdn.html - when: sunbird_portal_content_cdn_url is defined + echo "{{sunbird_portal_preview_cdn_url}}" + sed -i 's|cdn_url|{{sunbird_portal_preview_cdn_url}}|g' "{{currentws}}"/ansible/preview/preview_cdn.html + when: sunbird_portal_preview_cdn_url is defined tags: - preview