Merge pull request #212 from basecamp/role-primary-hosts
Pull the primary host from the role
This commit is contained in:
@@ -36,7 +36,7 @@ class Mrsk::Commander
|
||||
end
|
||||
|
||||
def primary_host
|
||||
specific_hosts&.first || config.primary_web_host
|
||||
specific_hosts&.first || specific_roles&.first&.primary_host || config.primary_web_host
|
||||
end
|
||||
|
||||
def roles
|
||||
|
||||
Reference in New Issue
Block a user