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

https://github.com/lfkdev/ansible-role-camino-node

Role to setup/configure a camino-node docs.camino.network
https://github.com/lfkdev/ansible-role-camino-node

ansible crypto

Last synced: about 1 year ago
JSON representation

Role to setup/configure a camino-node docs.camino.network

Awesome Lists containing this project

README

          

# Ansible Role: Camino-Node

[![CI](https://github.com/lfkdev/ansible-role-camino-node/actions/workflows/ci.yml/badge.svg)](https://github.com/lfkdev/ansible-role-camino-node/actions/workflows/ci.yml)

An Ansible Role that installs and configures Camino Node on Linux servers.

### Requirements
None.

### Role Variables
Available variables are listed below, along with default values (see `defaults/main.yml`):

```yaml
github_api_url: "https://api.github.com/repos/chain4travel/caminogo/releases"
```
The URL of the GitHub API to fetch the latest Camino Node release information.

```yaml
camino_node_dir: "/opt/camino-node"
```
The directory where the Camino Node binary will be installed.

```yaml
camino_node_bin: "{{camino_node_dir}}/caminogo"
```
The full path to the Camino Node binary.

```yaml
camino_config_dir: "/etc/camino-node/configs"
```
The directory where the Camino Node configuration files will be stored.

```yaml
camino_config_file: "{{camino_config_dir}}/node.json"
```
The main configuration file for the Camino Node.

```yaml
camino_node_http_host: "127.0.0.1"
```
The HTTP host address for the Camino Node API.

```yaml
camino_node_network_id: "columbus"
```
The network ID for the Camino Node. Defaults to the testnet.

```yaml
camino_version: ""
```
If not set, the role will fetch the latest release. Otherwise, specify the desired version (e.g., `"v1.1.0"`).

```yaml
camino_user: "camino"
```
The system user under which the Camino Node runs.

```yaml
camino_group: "camino"
```
The system group under which the Camino Node runs.

```yaml
camin_admin_api_secret: ""
```
If set to any value, the admin API endpoint will be enabled; otherwise, it remains disabled.

For more infos visit [docs](https://docs.camino.network/camino-node/configuration/)

### Node Keys
Uncomment the following variables to include tasks for custom keys:

```yaml
# camino_staker_key: |
# ""

# camino_staker_crt: |
# ""

# camino_signer_key: |
# ""
```

### Dependencies
- Currently, only the Debian family is supported (feel free to submit a PR for RedHat).

### Example Playbook
```yaml
- hosts: servers
roles:
- { role: lfkdev.camino_node }
```

### License
MIT