Add disk to bitcoind

This commit is contained in:
Amarpreet Minhas 2021-01-07 21:24:11 -05:00
parent 50b2fc08c7
commit 7d7a403346
2 changed files with 4 additions and 1 deletions

View file

@ -2,4 +2,6 @@
hashi_arch: arm
consul_arch: armhfv6
lnd_arch: armv7
bitcoind_disk: /dev/sda1
...

View file

@ -23,10 +23,11 @@
- name: ensure bitcoind mount exists
mount:
path: /home/bitcoind/.bitcoin
src: /dev/sda1
src: '{{ bitcoind_disk }}'
fstype: ext4
opts: defaults
state: present
when: bitcoind_disk is defined
- name: install bitcoind
apt: