grycap.htcondor
HTCondor Cluster Role
Ansible Role to set up an HTCondor [HTCondor] Cluster (https://research.cs.wisc.edu/htcondor/). This is a recipe for use with EC3.
Role Variables
Here are the variables you can use with this role and a short description of each.
# HTCondor version: https://research.cs.wisc.edu/htcondor/repo/keys/
# Example versions:
# 9.0
# 9.1
# 9.x
# 10.0
# 10.x
# 23.0
# 23.x
htcondor_version: 10.x
# Domain settings
# https://htcondor.readthedocs.io/en/latest/users-manual/submitting-a-job.html#submitting-jobs-using-a-shared-file-system
htcondor_domain: ""
# HTCondor roles:
# These will be replaced if htcondor_type_of_node is defined
htcondor_role_manager: false
htcondor_role_submit: false
htcondor_role_execute: false
# Condor password (consider adding to Vault?)
# It can also be set via CLI:
# ansible-playbook playbook-htcondor.yml --user cloudadm --extra-vars htcondor_password=changeme
htcondor_password: changeme
# Type of node to install: front or worker
htcondor_type_of_node: 'front'
# Server name
htcondor_server: "{{ ansible_fqdn }}"
# Default SSH user
htcondor_ssh_user: condoruser
Example Playbook
Here's a sample on how to install an HTCondor front node:
- hosts: server
roles:
- { role: 'grycap.htcondor', htcondor_type_of_node: 'front', htcondor_role_manager: true, htcondor_role_submit: true }
And here's how to install an HTCondor worker node:
- hosts: server
roles:
- { role: 'grycap.htcondor', htcondor_type_of_node: 'wn', htcondor_role_execute: true }
Contributing to the Role
To keep the code organized, direct changes to the master branch are not allowed. If you want to help out, please create a new branch, make your changes, and then submit a pull request.
Thank you!