Skip to content

Commit

Permalink
Only run configure tasks when configuring
Browse files Browse the repository at this point in the history
  • Loading branch information
m-bull committed Feb 4, 2025
1 parent 929c3ef commit 8d071ba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ansible/extras.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
- name: Install and configure Apptainer
include_role:
name: azimuth_cloud.image_utils.apptainer
tasks_from: "{{ 'configure.yml' if appliances_mode == 'configure' else 'main.yml' }}"

- name: Setup Apptainer
hosts: nextflow
Expand All @@ -45,6 +46,7 @@
- name: Install and configure Nextflow
include_role:
name: azimuth_cloud.image_utils.nextflow
tasks_from: "{{ 'configure.yml' if appliances_mode == 'configure' else 'main.yml' }}"

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

0 comments on commit 8d071ba

Please sign in to comment.