comments added inline
re-ordered rpcauth.py copy to be first
This commit is contained in:
parent
cce44c1fec
commit
604dec3794
@ -2,6 +2,13 @@
|
|||||||
# tasks file for build
|
# tasks file for build
|
||||||
#
|
#
|
||||||
# /home/{{ ansible_user }}/.config/containers/systemd/bitcoin-node.container
|
# /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
|
- name: bitcoin - Check rpcauth
|
||||||
block:
|
block:
|
||||||
- name: Generate rpcauth information if unset
|
- 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))
|
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]
|
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
|
- name: bitcoin - Create bitcoin-pod
|
||||||
containers.podman.podman_pod:
|
containers.podman.podman_pod:
|
||||||
name: bitcoin-pod
|
name: bitcoin-pod
|
||||||
state: started
|
state: started
|
||||||
ports:
|
ports:
|
||||||
- "50001:50001"
|
- "50001:50001" # electrs
|
||||||
- "4224:4224"
|
- "4224:4224" #
|
||||||
- "127.0.0.1:8332:8332"
|
- "127.0.0.1:8332:8332" # bitcoin
|
||||||
- "8333:8333"
|
- "8333:8333" # bitcoin
|
||||||
- "9735:9735"
|
- "9735:9735" # clightning
|
||||||
- "3010:3010"
|
- "3001:3001" # clightning (rest)
|
||||||
- "3000:3000"
|
- "3000:3000" # rtl
|
||||||
- "3001:3001"
|
- "5000:5000" # lnbits
|
||||||
- "5000:5000"
|
|
||||||
tags: [apps,bitcoin]
|
tags: [apps,bitcoin]
|
||||||
|
|
||||||
- name: bitcoin - Create bitcoin data / conf directory
|
- name: bitcoin - Create bitcoin data / conf directory
|
||||||
@ -146,9 +142,4 @@
|
|||||||
notify: rebuild_bitcoin
|
notify: rebuild_bitcoin
|
||||||
tags: [apps,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]
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user