Skip to content

Commit

Permalink
fix update_configs setup
Browse files Browse the repository at this point in the history
Signed-off-by: Dylan Schultz <[email protected]>
  • Loading branch information
dylanschultzie committed Jun 19, 2024
1 parent 31825f3 commit 5e2a4ba
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions update_configs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,15 @@

- name: add all signers
when: shares > 1
add_host:
hostname: '{{ item }}'
group: signers
loop: '{{ groups["all"] }}'
block:
- name: remove testnet_signer1 from the list
set_fact:
filtered_list: "{{ groups['all'] | difference(['testnet_signer1']) }}"
- name: create host group
add_host:
hostname: '{{ item }}'
group: signers
loop: '{{ filtered_list }}'

- name: handle testnet signers
when: testnet is defined and testnet|bool
Expand Down

0 comments on commit 5e2a4ba

Please sign in to comment.