comments added inline

re-ordered rpcauth.py copy to be first
This commit is contained in:
barry 2024-02-17 14:29:10 -06:00
parent cce44c1fec
commit 604dec3794

View File

@ -2,6 +2,13 @@
# tasks file for build
#
# /home/{{ ansible_user }}/.config/containers/systemd/bitcoin-node.container
- name: bitcoin - copy rpcauth.py utility
ansible.builtin.copy:
src: bitcoin/rpcauth.py
dest: ~/containers/bitcoin/rpcauth.py
mode: '0700'
tags: [apps,bitcoin]
- name: bitcoin - Check rpcauth
block:
- name: Generate rpcauth information if unset
@ -47,30 +54,19 @@
when: ((bitcoin_rpcuser is defined) and (bitcoin_rpcuser|length==0)) or ((bitcoin_rpcpassword is defined) and (bitcoin_rpcpassword|length==0)) or ((bitcoin_rpcauth is defined) and (bitcoin_rpcauth|length==0))
tags: [apps,bitcoin]
# Port list:
# 50001 - electrs
# 4224 - ?
# 8333 - bitcoin
# 8332 - bitcoin
# 9735 - clightning
# 3001 - clightning
# 3000 - rtl
# 5000 - lnbits
- name: bitcoin - Create bitcoin-pod
containers.podman.podman_pod:
name: bitcoin-pod
state: started
ports:
- "50001:50001"
- "4224:4224"
- "127.0.0.1:8332:8332"
- "8333:8333"
- "9735:9735"
- "3010:3010"
- "3000:3000"
- "3001:3001"
- "5000:5000"
- "50001:50001" # electrs
- "4224:4224" #
- "127.0.0.1:8332:8332" # bitcoin
- "8333:8333" # bitcoin
- "9735:9735" # clightning
- "3001:3001" # clightning (rest)
- "3000:3000" # rtl
- "5000:5000" # lnbits
tags: [apps,bitcoin]
- name: bitcoin - Create bitcoin data / conf directory
@ -146,9 +142,4 @@
notify: rebuild_bitcoin
tags: [apps,bitcoin]
- name: bitcoin - copy rpcauth.py utility
ansible.builtin.copy:
src: bitcoin/rpcauth.py
dest: ~/containers/bitcoin/rpcauth.py
mode: '0700'
tags: [apps,bitcoin]