{"id":19975269,"url":"https://github.com/ecadlabs/ansible-role-tezos-node","last_synced_at":"2025-05-04T02:33:44.963Z","repository":{"id":37078392,"uuid":"260012721","full_name":"ecadlabs/ansible-role-tezos-node","owner":"ecadlabs","description":"Ansible Role for creating and managing a Tezos node","archived":false,"fork":false,"pushed_at":"2022-11-01T17:11:28.000Z","size":68,"stargazers_count":10,"open_issues_count":3,"forks_count":6,"subscribers_count":6,"default_branch":"master","last_synced_at":"2023-04-03T13:13:58.353Z","etag":null,"topics":["ansible","blockchain","tezos","tezos-node"],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ecadlabs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-04-29T18:42:20.000Z","updated_at":"2022-06-21T20:22:15.000Z","dependencies_parsed_at":"2023-01-20T16:59:43.359Z","dependency_job_id":null,"html_url":"https://github.com/ecadlabs/ansible-role-tezos-node","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecadlabs%2Fansible-role-tezos-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecadlabs%2Fansible-role-tezos-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecadlabs%2Fansible-role-tezos-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecadlabs%2Fansible-role-tezos-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ecadlabs","download_url":"https://codeload.github.com/ecadlabs/ansible-role-tezos-node/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224379975,"owners_count":17301554,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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","blockchain","tezos","tezos-node"],"created_at":"2024-11-13T03:17:42.170Z","updated_at":"2024-11-13T03:17:42.812Z","avatar_url":"https://github.com/ecadlabs.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"Role Name\n=========\n\nThis Ansible Role aims to make deploying a Tezos node fast and easy for Ansible users.\n\nThe role is heavily parameterized, allowing users to deploy nodes for different Tezos networks (mainnet/ithacanet/jakartanet/etc..) and various economic protocols to support block transitions.\n\nTwo bootstrap strategies are supported, namely syncing from genesis or importing a snapshot for fast bootstrapping.\n\nThe role has been tested against [Version 13 of the Tezos Node][tezos_v13].\n\n_This role does not manage any Tezos keys_\n\nRequirements\n------------\n\nDocker (Tested on Debian Buster)\n\nInstallation\n------------\n\n    ansible-galaxy install ecadlabs.tezos_node\n\nRole Variables\n--------------\n\nAvailable variables are listed below, along with default values (see `defaults/main.yml`):\n\nThe Tezos network you wish to provision. This variable does not have a default, so you must set it. Typically, values are `jakartanet` or `mainnet`. The `tezos_network` value is used for several purposes; naming of docker containers, naming of a docker network, selection of which Tezos network to use, and validating that snapshot imports are from the expected network\n\n    tezos_network:\n\nThe location where on the host the Tezos nodes data directory will reside. This role uses Docker bind mounts over docker volumes.\n\n    node_data_dir: \"/srv/tezos/{{ network_name }}_node\"\n\nThe location on the host where the Tezos client configuration will reside. This directory contains client configuration and keys used by the `tezos-client` command.\n\n    client_data_dir: \"/srv/tezos/{{ network_name }}_client\"\n\nThe tezos docker image to use.\n\n    octez_version: v13.0\n\nThe [history mode][history_mode] you wish to operate your node in. Options are archive, full, or rolling\n\n    history_mode: full\n\nProviding a snapshot url controls how your node will bootstrap. Specify a `snapshot_url` to have the role download and import a snapshot. As there are different snapshots for each history mode, this snapshot must have the same history mode as the node. If the value provided begins with `http://` or `https://`, the role will download a snapshot from that URL. If the provided value is a Unix file path such as `/var/tmp/a_tezos_snapshot` the role will copy the snapshot from the Ansible host machine to the target.\n\n    snapshot_url: https://mainnet.xtz-shots.io/rolling # See https://xtz-shots.io/\n\nThe path or URL to the snapshot file that will be used for the initial import of your node. The snapshot will be downloaded to the target host's filesystem and mounted via a volume into a short-lived docker image responsible for the import process.\n\n        snapshot_tmp_file: /tmp/snapshot\n\nDependencies\n------------\n\nNone (but make sure you have docker installed, `geerlingguy.docker` works well)\n\nExample Playbook\n----------------\n\nFor mainnet:\n\n    - hosts: servers\n      roles:\n        - role: ecadlabs.tezos_node\n          snapshot_url: https://mainnet.xtz-shots.io/rolling # See https://xtz-shots.io/\n          history_mode: rolling\n          tezos_network: mainnet\n          snapshot_tmp_file: /tmp/snapshot\n\nLicense\n-------\n\nMIT\n\nAuthor Information\n------------------\n\nCreated by the humans from ECAD Labs Inc. https://ecadlabs.com\n\n[tezos_v13]: https://tezos.gitlab.io/releases/version-13.html\n[history_mode]: https://tezos.gitlab.io/user/history_modes.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fecadlabs%2Fansible-role-tezos-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fecadlabs%2Fansible-role-tezos-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fecadlabs%2Fansible-role-tezos-node/lists"}