abims_sbr.singularity

Ansible 角色:Singularity

构建状态

一个在 Linux 上安装 Singularity 的 Ansible 角色。

需求

无。

角色变量

可用的变量列在下面,并附有默认值(见 defaults/main.yml):

# Singularity 目标版本
singularity_version: "3.0.3"

从角色 gantsign.golang

# Go 语言 SDK 发行版的基础安装目录
golang_install_dir: '/opt/go/{{ golang_version }}'

# GOPATH 环境变量的位置
golang_gopath: /opt/go/packages

依赖关系

角色:

示例剧本

- hosts: hpc-nodes
  pre_tasks:
    - name: 创建 Go 的文件夹
      file:
        path: "{{ golang_install_dir }}"
        recurse: yes
    - name: 更新 apt
      apt:
        cache_valid_time: 3600
        update_cache: yes
      when: ansible_os_family == "Debian"
  roles:
    - singularity

许可证

GNU 通用公共许可证 v3.0

作者信息

该角色由 Gildas Le Corguillé 于 2019 年创建。

关于项目

Singularity for Linux.

安装
ansible-galaxy install abims_sbr.singularity
许可证
gpl-3.0
下载
58.7k