abims_sbr.singularity
Ansible Role: Singularity
This is an Ansible Role that helps you install Singularity on Linux systems.
Requirements
No special requirements are needed.
Role Variables
Here are the variables you can use, along with their default values (check defaults/main.yml
):
# Version of Singularity to install
singularity_version: "3.0.3"
From the role gantsign.golang:
# Directory to install the Go language SDK
golang_install_dir: '/opt/go/{{ golang_version }}'
# Directory for the GOPATH environment variable
golang_gopath: /opt/go/packages
Dependencies
This role depends on:
Example Playbook
Here's an example of how to use this role in a playbook:
- hosts: hpc-nodes
pre_tasks:
- name: Create a folder for Go installation
file:
path: "{{ golang_install_dir }}"
recurse: yes
- name: Update package list
apt:
cache_valid_time: 3600
update_cache: yes
when: ansible_os_family == "Debian"
roles:
- singularity
License
This project is licensed under the GNU General Public License v3.0.
Author Information
This role was created in 2019 by Gildas Le Corguillé.
Installa
ansible-galaxy install abims_sbr.singularity
Licenza
gpl-3.0
Download
58.7k