Skip to content

pddg/ansible-singularity

 
 

Repository files navigation

Ansible Role: Singularity

Actions Status

An Ansible Role that installs Singularity on Linux. This role supports Singularity >= 3.0.

Requirements

None.

Role Variables

Available variables are listed below, along with default values (see defaults/main.yml):

# Singularity target version
singularity_version: "3.5.3"

From the role gantsign.golang

# Required
# Location for GOPATH environment variable
golang_gopath: /opt/go/packages

# Base installation directory the Go language SDK distribution
golang_install_dir: '/opt/go/{{ golang_version }}'

Please refer the compatibility table of Singularity and Golang version.

Singularity/Go 1.11.x 1.12.x 1.13.x 1.14.x
3.0.x o o x x
3.1.x o o x x
3.2.x o o x x
3.3.x o o x x
3.4.x o o x x
3.5.x x x o
3.6.x x x o
3.7.x x x o o

Dependencies

Roles:

Example Playbook

- 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

License

GNU General Public License v3.0

Author Information

This role is modified by Shoma Kokuryo. The original is created by Gildas Le Corguillé.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 100.0%