fooock / bitcoind-ansible

Install Bitcoin Core using Ansible
https://galaxy.ansible.com/fooock/bitcoind
1 stars 1 forks source link

Feature request: pruned mode #18

Open hax0rbana-adam opened 8 months ago

hax0rbana-adam commented 8 months ago

I'd like to be able to run in pruned mode.

Currently, I accomplish this by using ansible.builtin.lineinfile a couple times after using this role. I'd like the option to have the ability to set txindex=0 and prune=550.

I'd prefer to be able to specify these values in variables and have them included in the template. If the defaults are left at txindex=1 and prune=0, it will maintain the same behavior out of the box, which seems desirable for backward compatibility.