https://github.com/grycap/ansible-role-htcondor
Ansible Role to install an HTCondor Cluster
https://github.com/grycap/ansible-role-htcondor
Last synced: 5 months ago
JSON representation
Ansible Role to install an HTCondor Cluster
- Host: GitHub
- URL: https://github.com/grycap/ansible-role-htcondor
- Owner: grycap
- License: apache-2.0
- Created: 2016-12-12T14:59:00.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-05-16T05:37:25.000Z (about 2 years ago)
- Last Synced: 2024-12-30T04:59:54.009Z (over 1 year ago)
- Language: Jinja
- Size: 49.8 KB
- Stars: 1
- Watchers: 8
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
HTCondor cluster Role
======================
[](https://www.apache.org/licenses/LICENSE-2.0)
[](https://github.com/grycap/ansible-role-htcondor/actions/workflows/main.yaml)
Ansible Role to install an HTCondor [HTCondor] Cluster (https://research.cs.wisc.edu/htcondor/).
Recipe to be used by [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.
```yaml
# HTCondor version: https://research.cs.wisc.edu/htcondor/repo/keys/
# Example values:
# 9.0
# 9.1
# 9.x
# 10.0
# 10.x
# 23.0
# 23.x
htcondor_version: 10.x
# Domain config
# https://htcondor.readthedocs.io/en/latest/users-manual/submitting-a-job.html#submitting-jobs-using-a-shared-file-system
htcondor_domain: ""
# HTCondor roles:
# Are overwrited it htcondor_type_of_node is set
htcondor_role_manager: false
htcondor_role_submit: false
htcondor_role_execute: false
# Condor password (to be added to Vault?)
# it can also be set from CLI:
# ansible-playbook playbook-htcondor.yml --user cloudadm --extra-vars htcondor_password=changeme
htcondor_password: changeme
# Type of node to install: front, wn
htcondor_type_of_node: 'front'
# Server name
htcondor_server: "{{ ansible_fqdn }}"
# Default ssh user
htcondor_ssh_user: condoruser
```
Example Playbook
----------------
This an example of how to install an HTCondor front node:
```yaml
- hosts: server
roles:
- { role: 'grycap.htcondor', htcondor_type_of_node: 'front', htcondor_role_manager: true, htcondor_role_submit: true }
```
This an example of how to install an HTCondor working node:
```yaml
- hosts: server
roles:
- { role: 'grycap.htcondor', htcondor_type_of_node: 'wn', htcondor_role_execute: true }
```
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