Added rpcuser and rpcpassword options to bitcoin-node startup

This commit is contained in:
b0xxer
2024-02-13 10:20:15 -06:00
parent f0e6bce522
commit d83de2ce60
5 changed files with 16 additions and 6 deletions
+6 -3
View File
@@ -10,6 +10,7 @@
- "4224:4224"
- "127.0.0.1:8332:8332"
- "8333:8333"
- "9735:9735"
- name: bitcoin - Create bitcoin data / conf directory
ansible.builtin.file:
@@ -26,7 +27,9 @@
ansible.builtin.template:
src: bitcoin/bitcoin-node.container.j2
dest: /home/{{ ansible_user }}/.config/containers/systemd/bitcoin-node.container
notify: reload_systemctl
notify:
- reload_systemctl
- restart_bitcoin
- name: bitcoin - Create Containers/bitcoin Dir
ansible.builtin.file:
@@ -54,8 +57,8 @@
notify: rebuild_bitcoin
- name: bitcoin - Copy btc_oneshot
ansible.builtin.copy:
src: bitcoin/bin/btc_oneshot
ansible.builtin.template:
src: bitcoin/bin/btc_oneshot.j2
dest: ~/Containers/bitcoin/bin/btc_oneshot
notify: rebuild_bitcoin