Skip to content

Commit 9adfb4c

Browse files
committed
Install and configure Apptainer and Nextflow
1 parent 1bbbf31 commit 9adfb4c

File tree

7 files changed

+41
-2
lines changed

7 files changed

+41
-2
lines changed

Diff for: ansible/extras.yml

+18
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,24 @@
2828
name: cuda
2929
tasks_from: "{{ 'runtime.yml' if appliances_mode == 'configure' else 'install.yml' }}"
3030

31+
- name: Setup Apptainer
32+
hosts: apptainer
33+
gather_facts: yes
34+
tags: apptainer
35+
tasks:
36+
- name: Install and configure Apptainer
37+
include_role:
38+
name: azimuth_cloud.image_utils.apptainer
39+
40+
- name: Setup Apptainer
41+
hosts: nextflow
42+
gather_facts: yes
43+
tags: nextflow
44+
tasks:
45+
- name: Install and configure Nextflow
46+
include_role:
47+
name: azimuth_cloud.image_utils.nextflow
48+
3149
- name: Persist hostkeys across rebuilds
3250
# Must be after filesystems.yml (for storage)
3351
# and before portal.yml (where OOD login node hostkeys are scanned)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
3+
apptainer_config_overrides:
4+
- directive: "mount tmp"
5+
value: "no"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
3+
nextflow_skel_config: |
4+
process.executor = 'slurm'

Diff for: environments/common/inventory/group_vars/all/openhpc.yml

-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ openhpc_packages_default:
2525
- ohpc-gnu12-openmpi4-perf-tools # for hpctests
2626
- openblas-gnu12-ohpc # for hpctests (HPL)
2727
# EPEL packages:
28-
- apptainer
2928
- podman-compose
3029
openhpc_packages_extra: []
3130
openhpc_packages: "{{ openhpc_packages_default + openhpc_packages_extra }}"

Diff for: environments/common/inventory/groups

+6
Original file line numberDiff line numberDiff line change
@@ -165,3 +165,9 @@ extra_packages
165165

166166
[pulp]
167167
# Add builder to this group to enable automatically syncing of pulp during image build
168+
169+
[apptainer]
170+
# Hosts to install and configure Apptainer on
171+
172+
[nextflow]
173+
# Hosts to install and configure Nextflow on

Diff for: environments/common/layouts/everything

+7
Original file line numberDiff line numberDiff line change
@@ -111,3 +111,10 @@ control
111111
[extra_packages:children]
112112
# Hosts to install specified additional packages on
113113
builder
114+
115+
[apptainer:children]
116+
login
117+
compute
118+
119+
[nextflow:children]
120+
login

Diff for: requirements.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ collections:
4545
version: 0.4.0
4646
- name: https://github.com/azimuth-cloud/ansible-collection-image-utils
4747
type: git
48-
version: 0.4.0
48+
version: apptainer
4949
# stackhpc.pulp has pulp.squeezer as dependency, any version, but latest
5050
# requires newer ansible than can install
5151
- name: pulp.squeezer

0 commit comments

Comments
 (0)