Skip to content

Latest commit

 

History

History
58 lines (41 loc) · 1.25 KB

README.md

File metadata and controls

58 lines (41 loc) · 1.25 KB

Ansible Role: Singularity

Build Status

An Ansible Role that installs Singularity on Linux.

Requirements

None.

Role Variables

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

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 was created in 2019 by Gildas Le Corguillé