aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorforest <forest.n.johnson@gmail.com>2021-01-13 17:20:21 -0600
committerforest <forest.n.johnson@gmail.com>2021-01-13 17:20:21 -0600
commit35958ec4a29a2aca9559b911278626c57a759039 (patch)
treed801e43a0cf6678fe0480d99d0c358b6cfe44b0d
parent6144ca12d315b468e80f0365db5558aff547c817 (diff)
downloadops-handbook-35958ec4a29a2aca9559b911278626c57a759039.tar.gz
ops-handbook-35958ec4a29a2aca9559b911278626c57a759039.tar.bz2
fix setup chdir
-rw-r--r--ansible/roles/btcpayserver-docker/tasks/main.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/ansible/roles/btcpayserver-docker/tasks/main.yml b/ansible/roles/btcpayserver-docker/tasks/main.yml
index d324561..71ec009 100644
--- a/ansible/roles/btcpayserver-docker/tasks/main.yml
+++ b/ansible/roles/btcpayserver-docker/tasks/main.yml
@@ -3,6 +3,7 @@
apk:
name: git
state: present
+
- name: Clone our fork of github.com/btcpayserver/btcpayserver-docker. (fork is required for our BTCPAYGEN_REVERSEPROXY="external")
git:
repo: 'https://giit.cyberia.club/~forest/btcpayserver-docker'
@@ -17,7 +18,9 @@
mode: '0755'
- name: run cyberia-btcpay-setup.sh
- shell: /root/btcpayserver-docker/cyberia-btcpay-setup.sh
+ shell:
+ cmd: /root/btcpayserver-docker/cyberia-btcpay-setup.sh
+ chdir: /root/btcpayserver-docker/
# for the bitcoin lightning network node (if used)
# - name: Allow inbound connections