Add disk to bitcoind
This commit is contained in:
parent
50b2fc08c7
commit
7d7a403346
2 changed files with 4 additions and 1 deletions
|
@ -2,4 +2,6 @@
|
||||||
hashi_arch: arm
|
hashi_arch: arm
|
||||||
consul_arch: armhfv6
|
consul_arch: armhfv6
|
||||||
lnd_arch: armv7
|
lnd_arch: armv7
|
||||||
|
|
||||||
|
bitcoind_disk: /dev/sda1
|
||||||
...
|
...
|
||||||
|
|
|
@ -23,10 +23,11 @@
|
||||||
- name: ensure bitcoind mount exists
|
- name: ensure bitcoind mount exists
|
||||||
mount:
|
mount:
|
||||||
path: /home/bitcoind/.bitcoin
|
path: /home/bitcoind/.bitcoin
|
||||||
src: /dev/sda1
|
src: '{{ bitcoind_disk }}'
|
||||||
fstype: ext4
|
fstype: ext4
|
||||||
opts: defaults
|
opts: defaults
|
||||||
state: present
|
state: present
|
||||||
|
when: bitcoind_disk is defined
|
||||||
|
|
||||||
- name: install bitcoind
|
- name: install bitcoind
|
||||||
apt:
|
apt:
|
||||||
|
|
Loading…
Reference in a new issue