Prepare auditor to print a present role

This commit is contained in:
Tobias Bühlmann
2023-03-09 19:35:30 +01:00
parent 901484d75d
commit 6b11303230
3 changed files with 28 additions and 5 deletions

View File

@@ -69,8 +69,8 @@ class Mrsk::Commander
Mrsk::Commands::Accessory.new(config, name: name)
end
def auditor
@auditor ||= Mrsk::Commands::Auditor.new(config)
def auditor(role: nil)
Mrsk::Commands::Auditor.new(config, role: role)
end
def builder