Skip to content

Commit 8d071ba

Browse files
committed
Only run configure tasks when configuring
1 parent 929c3ef commit 8d071ba

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: ansible/extras.yml

+2
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
- name: Install and configure Apptainer
3737
include_role:
3838
name: azimuth_cloud.image_utils.apptainer
39+
tasks_from: "{{ 'configure.yml' if appliances_mode == 'configure' else 'main.yml' }}"
3940

4041
- name: Setup Apptainer
4142
hosts: nextflow
@@ -45,6 +46,7 @@
4546
- name: Install and configure Nextflow
4647
include_role:
4748
name: azimuth_cloud.image_utils.nextflow
49+
tasks_from: "{{ 'configure.yml' if appliances_mode == 'configure' else 'main.yml' }}"
4850

4951
- name: Persist hostkeys across rebuilds
5052
# Must be after filesystems.yml (for storage)

0 commit comments

Comments
 (0)