lifeofguenter / ansible-role-bitcoin-core

Ansible role to install Bitcoin Core on a Debian like system.

Home Page:https://galaxy.ansible.com/lifeofguenter/bitcoin_core

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ansible Role: Bitcoin Core

CircleCI

An Ansible role that compiles and installs bitcoind, bitcoin-cli and bitcoin-tx (e.g. headless) on Debian like systems.

Requirements

none

Role Variables

  • bitcoin_version: 25.0

  • bitcoin_user: bitcoin

  • bitcoin_home: "/home/{{ bitcoin_user }}"

  • bitcoin_conf_datadir: "{{ bitcoin_home }}"

  • bitcoin_conf_pid: /run/bitcoind/bitcoind.pid

See https://en.bitcoin.it/wiki/Running_Bitcoin#Bitcoin.conf_Configuration_File for more options (prefix them with bitcoin_conf_)

Dependencies

none

Example Playbook

- hosts: miner
  roles:
    - { role: lifeofguenter.bitcoin_core }

Munin Plugin

For this the munin-plugin to work, add the following override:

/etc/systemd/system/munin-node.service.d/override.conf

[Service]
ProtectHome = read-only

Thank you

License

MIT

About

Ansible role to install Bitcoin Core on a Debian like system.

https://galaxy.ansible.com/lifeofguenter/bitcoin_core

License:MIT License


Languages

Language:Shell 100.0%