An open API service indexing awesome lists of open source software.

https://github.com/grycap/ansible-role-clues

Ansible role for CLUES
https://github.com/grycap/ansible-role-clues

Last synced: 11 months ago
JSON representation

Ansible role for CLUES

Awesome Lists containing this project

README

          

[![License](https://img.shields.io/badge/license-Apache%202-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0)
[![CI](https://github.com/grycap/ansible-role-clues/actions/workflows/main.yaml/badge.svg)](https://github.com/grycap/ansible-role-clues/actions/workflows/main.yaml)

CLUES cluster Role
=======================

Install [CLUES](http://www.grycap.upv.es/clues/eng/index.php).
Recipe for [EC3](http://servproject.i3m.upv.es/ec3/).

Role Variables
--------------

The variables that can be passed to this role and a brief description about them are as follows.
```
clues_secret_token: not_very_secret_token
# Select between the following: torque, slurm, sge, condor, mesos
clues_queue_system: slurm
# Number of max worker nodes to deploy in the cluster
max_number_of_nodes: 5
# Prefix applied to the elastic cluster worker nodes
vnode_prefix: wn
# Path for the authorization file used
auth: auth.dat
# Class to use as power manager (POWERMANAGER_CLASS)
clues_powermanager_class: cluesplugins.im
# Set GitHub branch to install
cpyutils_git_branch: master
clues_git_branch: master
```

Example Playbook
----------------

This an example of how to install a SLURM cluster with three nodes:
```
- hosts: server
roles:
- { role: 'grycap.clues', clues_queue_system: 'slurm', max_number_of_nodes: '3' }
```
Contributing to the role
========================
In order to keep the code clean, pushing changes to the master branch has been disabled. If you want to contribute, you have to create a branch, upload your changes and then create a pull request.
Thanks