Allow primary host even when a specific role has been set
This commit is contained in:
@@ -25,7 +25,7 @@ class Mrsk::Commander
|
||||
end
|
||||
|
||||
def primary_host
|
||||
specific_hosts&.sole || config.primary_web_host
|
||||
specific_hosts&.first || config.primary_web_host
|
||||
end
|
||||
|
||||
def hosts
|
||||
|
||||
Reference in New Issue
Block a user