Merge pull request #772 from aishek/take-accessory-hosts-into-account

Take accessory hosts into account for --hosts
This commit is contained in:
Donal McBreen
2024-04-25 11:57:45 +01:00
committed by GitHub
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