An Ansible Role that installs Singularity on Linux.
None.
Available variables are listed below, along with default values (see defaults/main.yml
):
# Singularity target version
singularity_version: "3.0.3"
From the role gantsign.golang
# Base installation directory the Go language SDK distribution
golang_install_dir: '/opt/go/{{ golang_version }}'
# Location for GOPATH environment variable
golang_gopath: /opt/go/packages
Roles:
- hosts: hpc-nodes
pre_tasks:
- name: create a folder for go
file:
path: "{{ golang_install_dir }}"
recurse: yes
- name: apt update
apt:
cache_valid_time: 3600
update_cache: yes
when: ansible_os_family == "Debian"
roles:
- singularity
GNU General Public License v3.0
This role was created in 2019 by Gildas Le Corguillé