diff --git a/roles/sarek/tasks/main.yml b/roles/sarek/tasks/main.yml index 0875305e..00aae19f 100644 --- a/roles/sarek/tasks/main.yml +++ b/roles/sarek/tasks/main.yml @@ -56,7 +56,7 @@ - name: Create Delivery READMEs and add to TACA resources template: src: "DELIVERY.README.SAREK.txt.j2" - dest: "{{ ngi_resources }}/TACA/{{ item.site }}.DELIVERY.README.SAREK.txt" + dest: "{{ ngi_resources }}/TACA/{{ item.site }}/DELIVERY.README.SAREK.txt" with_items: - site: sthlm - site: upps diff --git a/roles/taca/tasks/main.yml b/roles/taca/tasks/main.yml index 043b4ac6..58577c90 100644 --- a/roles/taca/tasks/main.yml +++ b/roles/taca/tasks/main.yml @@ -17,8 +17,14 @@ - name: Create TACA delivery configs directory file: path="{{ ngi_pipeline_conf }}/TACA" state=directory mode=g+s -- name: Create TACA resources folder - file: path="{{ ngi_resources }}/TACA" state=directory mode=g+s +- name: Create TACA resources folders for each site + file: + path: "{{ ngi_resources }}/TACA/{{ item }}" + state: directory + mode: g+s + with_items: + - "upps" + - "sthlm" - set_fact: site: "upps" diff --git a/roles/taca/templates/site_taca_sarek_delivery.yml.j2 b/roles/taca/templates/site_taca_sarek_delivery.yml.j2 index 011f5d10..2258e1ec 100644 --- a/roles/taca/templates/site_taca_sarek_delivery.yml.j2 +++ b/roles/taca/templates/site_taca_sarek_delivery.yml.j2 @@ -61,8 +61,8 @@ deliver: - //results/VariantCalling/ - required: True - - - {{ ngi_resources }}/TACA/{{ site }}.DELIVERY.README.SAREK.txt - - /DELIVERY.README.SAREK.txt + - {{ ngi_resources }}/TACA/{{ site }}/DELIVERY.README.SAREK.txt + - - required: True - - {{ ngi_resources }}/TACA/apply_recalibration.sh