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

https://github.com/vantagecompute/ansible-role-vantage_agents

Ansible role to install the vantage agents.
https://github.com/vantagecompute/ansible-role-vantage_agents

Last synced: 3 months ago
JSON representation

Ansible role to install the vantage agents.

Awesome Lists containing this project

README

          

# vantage_agents Ansible Role

This role installs and configures the `vantage-agent` and `jobbergate-agent` on Linux hosts (Debian, Ubuntu, RHEL, CentOS, Rocky, Alma, etc.) using either Snap (default) or PyPI, as determined by the `install_type` variable. It sets OIDC credentials and cluster name, and ensures both agents are running.

## Requirements
- Linux host (Debian/Ubuntu or RHEL/CentOS/Rocky/Alma)
- snapd available (role will install if missing)
- Ansible 2.9+

## Role Variables
| Variable | Description | Default |
|--------------------|---------------------------------------------|-----------------|
| oidc_client_id | OIDC client ID for both agents | "" |
| oidc_client_secret | OIDC client secret for both agents | "" |
| cluster_name | Cluster name for vantage-agent | "" |
| install_type | Installation type: `snap` or `pypi` | "snap" |

## Example Playbook

```yaml
- hosts: util_node
become: true
vars:
oidc_client_id: ""
oidc_client_secret: ""
cluster_name: ""
install_type: "snap" # or "pypi"
roles:
- role: vantage_agents
```

> **Note:**
> - Set `install_type` to `snap` (default) or `pypi` to control installation method.
> - For `snap`, the role will install snapd if missing.
> - For `pypi`, the role will install Python, create virtual environments, and deploy systemd services for both agents.

## License
Apache-2.0

## Author Information
Vantage Compute