updates
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Vivian 2023-05-02 10:05:49 +02:00
parent 8c1f68aa17
commit c45c402512
4 changed files with 13 additions and 11 deletions

View file

@ -4,6 +4,7 @@ let
cfg = config.services.v.vault;
hostIP = config.deployment.targetHost;
# Find all vault hosts that do not have the same IP as the current host
vault_hosts =
filter ({ tags ? [ ], ip ? "", ... }: (elem "vault" tags) && (ip != hostIP))
flat_hosts;