Take accessory hosts into account

This commit is contained in:
Alexandr Borisov
2024-04-17 11:45:33 +03:00
parent 31669d4dce
commit 12c518097f
2 changed files with 5 additions and 1 deletions

View File

@@ -88,7 +88,7 @@ class Kamal::Configuration
def all_hosts
roles.flat_map(&:hosts).uniq
(roles + accessories).flat_map(&:hosts).uniq
end
def primary_host