{"id":15080940,"url":"https://github.com/cardinate/crossfi-role","last_synced_at":"2026-02-11T13:30:51.659Z","repository":{"id":233643972,"uuid":"787621466","full_name":"cardinate/crossfi-role","owner":"cardinate","description":"Ansible Role for Deploying a CrossFi Node","archived":false,"fork":false,"pushed_at":"2024-04-16T22:17:27.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-26T16:07:43.814Z","etag":null,"topics":["ansible","ansible-role","cosmos-sdk","crossfi"],"latest_commit_sha":null,"homepage":"","language":"Jinja","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cardinate.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-04-16T21:46:00.000Z","updated_at":"2024-04-16T21:47:06.000Z","dependencies_parsed_at":"2024-04-17T01:25:44.926Z","dependency_job_id":"dc920ad4-3c33-4c47-83fd-09fa688d41e3","html_url":"https://github.com/cardinate/crossfi-role","commit_stats":null,"previous_names":["cardinate/crossfi-role"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cardinate/crossfi-role","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cardinate%2Fcrossfi-role","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cardinate%2Fcrossfi-role/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cardinate%2Fcrossfi-role/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cardinate%2Fcrossfi-role/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cardinate","download_url":"https://codeload.github.com/cardinate/crossfi-role/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cardinate%2Fcrossfi-role/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29333460,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T12:42:24.625Z","status":"ssl_error","status_checked_at":"2026-02-11T12:41:23.344Z","response_time":97,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","ansible-role","cosmos-sdk","crossfi"],"created_at":"2024-09-25T05:33:51.246Z","updated_at":"2026-02-11T13:30:51.629Z","avatar_url":"https://github.com/cardinate.png","language":"Jinja","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CrossFi Validator Ansible Role\n![CrossFi Logo](/crossfi.png)\n\nThis role provides an easy way to install a CrossFi validator node (supervised using cosmovisor) onto a Linux machine. \n\n## Variables \n\n| Variable | Description | Default |\n|----------|-------------|---------|\n| `crossfi_moniker` | The moniker (name) for the validator | Hostname from inventory |\n| `crossfi_initial_version` | The version of crossfid that will be used when cosmovisor first starts. Accepts any version number from a Github release. | `0.2.0-prebuild6` |\n| `crossfi_user` | Username for the user running crossfid | `crossfi` |\n| `crossfi_home` | Home directory where CrossFi configuration and data is stored | `/var/lib/crossfi` |\n| `crossfi_cosmovisor_version` | The version of cosmovisor to use. Accepts any version number from a Github release. | `v1.5.0` |\n| `crossfi_cosmovisor_allow_download_binaries` | Whether cosmovisor will automatically download new binaries | `true` |\n| `crossfi_cosmovisor_restart_after_update` | Whether cosmovisor should restart crossfid after downloading an update. While this is `true` by default to facilitate the initial sync, you should consider setting it to `false` once your validator is fully operational. | `true` |\n| `crossfi_prometheus_retention_time` | Setting this to a value greater than 0 enables the prometheus exporter. | `120` |\n| `crossfi_firewall_rules_enable` | This can be set to `ufw` or `firewalld` to automatically allow traffic the peer-to-peer port on the machine | (disabled) |\n\n## Usage\n\nCreate a `requirements.yml` file declaring a dependency on this role:\n\n```yaml\nroles:\n- name: crossfi\n  src: https://github.com/cardinate/crossfi-role\n  version: main\n```\n\nInstall the role using ansible-galaxy:\n\n```sh\nansible-galaxy role install -r requirements.yml\n```\n\nCreate an inventory file (e.g. `inventory.ini`) describing the node(s) you want to deploy:\n\n```ini\n[nodes]\nmy-node\n\n[my-node:vars]\ncrossfi_moniker=my-validator-1\n```\n\nCreate a `site.yml` file that describes how to deploy the nodes:\n\n```yaml\n- hosts: nodes\n  roles:\n    - role: crossfi\n```\n\nExecute the playbook:\n\n```sh\nansible-playbook -i inventory.ini site.yml\n```\n\n## Limitations\n\nThis playbook currently only supports the rather slow ‘blocksync’ method. If you want\nto sync faster, adjust `crossfi_initial_version` to a higher version number and use one of\nthe methods described in the [sync options](https://docs.crossfi.org/crossfi-chain/node-operators/join-a-network#sync-options) documentation.\n\n\n## Tested With\n\n* Ansible 2.16.5\n* Ubuntu 22.04\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcardinate%2Fcrossfi-role","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcardinate%2Fcrossfi-role","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcardinate%2Fcrossfi-role/lists"}