mirror of
https://seed.radicle.dev/rad:zwTxygwuz5LDGBq255RA2CbNGrz8.git
synced 2026-10-18 19:30:29 +08:00
fix: only init config if missing
This commit is contained in:
@@ -121,7 +121,9 @@
|
||||
- name: "set up Radicle node configuration"
|
||||
when: radicle_ci_node_key is defined
|
||||
shell: |
|
||||
sudo -i -u ci rad config init --alias "ci-{{ inventory_hostname }}"
|
||||
if [ ! -e /home/ci/.radicle/config.json ]; then
|
||||
sudo -i -u ci rad config init --alias "ci-{{ inventory_hostname }}"
|
||||
fi
|
||||
|
||||
- name: "set up Radicle node with new key"
|
||||
when: radicle_ci_node_key is undefined
|
||||
|
||||
Reference in New Issue
Block a user