Files
ansible-role-monero/defaults/main.yml
T
claudeandClaude Opus 5.5 46aec42185 Move RPC login to a Secret, put P2Pool on a selectable sidechain
The monerod RPC login was in both Deployments' args, readable by anyone who
can read Deployments. It now lives in the monerod-rpc Secret and reaches the
containers through an env var.

P2Pool now runs on monero_p2pool_chain, defaulting to nano. On main the
miners found a share about every 6 days and missed most PPLNS windows.
The hardcoded main-chain peer only applied to main, so peers are a variable.

monerod's RPC SSL is now autodetect: Shkeeper's Monero module always uses
plain HTTP, so with SSL required it saw the node as Offline and hid XMR.

Also: Deployments use apps/v1, monerod's ZMQ binds 0.0.0.0 to match the
live deployment (P2Pool connects from its own pod), required variables are
checked up front, and the README describes the role.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 11:46:16 -05:00

21 lines
710 B
YAML

#SPDX-License-Identifier: MIT-0
---
# defaults file for ansible-role-monero
# P2Pool sidechain: main, mini or nano. Pick the one your total hashrate can
# find shares on at least every few hours, or payouts become rare lumps:
# share difficulty (Nov 2026) is ~4.2G on main, ~320M on mini, ~160M on nano.
# A home setup of a few kH/s belongs on nano. P2P stays on port 37889 on
# every chain, so the LoadBalancer and any router forwarding are unchanged.
monero_p2pool_chain: nano
# Extra P2Pool peers, as host:port. Peers only help on their own chain.
monero_p2pool_addpeers: []
monerod_rpc_secret_name: monerod-rpc
# Required (Vault).
monerod_user: ""
monerod_password: ""
monero_p2pool_wallet_address: ""