Install and configure former singularity currently apptainer.
An already configured repository which has the apptainer packages.
The WLCG Linux Repo and OpenScienceGrid have apptainer packages.
see defaults/main.yml
the settings in apptainer.conf is defined with this list:
apptainer_settings:
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: servers
roles:
- { role: ansible-role-apptainer, x: 42 }
MIT
Inspiration from https://github.com/ryanolson/ansible-singularity