Deploys mention the released service@version

Less work for broadcast commands to take on.

Also fixes a bug where rollback on hosts without a running container
would stop the container they had just started.
This commit is contained in:
Jeremy Daer
2023-03-22 10:15:12 -07:00
committed by Jeremy Daer
parent 83dc82661b
commit 53d7f9d528
4 changed files with 37 additions and 8 deletions

View File

@@ -46,6 +46,11 @@ class Mrsk::Configuration
end
def abbreviated_version
Mrsk::Utils.abbreviate_version(version)
end
def roles
@roles ||= role_names.collect { |role_name| Role.new(role_name, config: self) }
end