This commit is contained in:
parent
8c1f68aa17
commit
c45c402512
4 changed files with 13 additions and 11 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue