deploy/deploy.yml
changeset 2 f72ffe8b30b1
parent 1 66f388fa2130
child 14 521d1a8c7150
--- a/deploy/deploy.yml	Fri Sep 14 22:07:56 2018 +0200
+++ b/deploy/deploy.yml	Sat Sep 15 01:24:07 2018 +0200
@@ -181,7 +181,7 @@
     # TODO : set dashboard name in setting
     - name: transfert static dist to remote
       copy:
-        src: "{{clientjs_dir}}/{{dashboard_name}}/build/"
+        src: "{{clientjs_dir}}/packages/{{dashboard_name}}/build/"
         dest: "{{remote_static_path}}/"
         owner: "{{static_http_user}}"
         group: "{{static_http_group}}"
@@ -190,7 +190,7 @@
 
     - name: create refresh nginx config
       template:
-        src: netrights.iri-research.org.j2
+        src: "{{static_nginx_use_ssl | ternary('nginx.static.ssl.conf.j2', 'nginx.static.conf.j2')}}"
         dest: "{{static_nginx_config | default('/etc/nginx/site-available/'+static_server_name, true)}}"
       notify:
         - restart static nginx