This commit is contained in:
2025-07-30 15:00:20 +02:00
parent 9fd551e0f7
commit 66757c52d7
85 changed files with 117 additions and 499 deletions

View File

@@ -79,18 +79,8 @@ fn set_in_mem(o CoreDNS) ! {
coredns_default = o.name
}
@[params]
pub struct PlayArgs {
pub mut:
heroscript string // if filled in then plbook will be made out of it
plbook ?playbook.PlayBook
reset bool
}
pub fn play(args_ PlayArgs) ! {
mut args := args_
mut plbook := args.plbook or { playbook.new(text: args.heroscript)! }
pub fn play(mut plbook PlayBook) ! {
mut install_actions := plbook.find(filter: 'coredns.configure')!
if install_actions.len > 0 {

View File

@@ -81,18 +81,9 @@ fn set_in_mem(o DifyInstaller) ! {
dify_default = o.name
}
@[params]
pub struct PlayArgs {
pub mut:
heroscript string // if filled in then plbook will be made out of it
plbook ?playbook.PlayBook
reset bool
}
pub fn play(args_ PlayArgs) ! {
mut args := args_
mut plbook := args.plbook or { playbook.new(text: args.heroscript)! }
pub fn play(mut plbook PlayBook) ! {
mut install_actions := plbook.find(filter: 'dify.configure')!
if install_actions.len > 0 {

View File

@@ -79,19 +79,9 @@ fn set_in_mem(o GiteaServer) ! {
gitea_default = o.name
}
@[params]
pub struct PlayArgs {
pub mut:
heroscript string // if filled in then plbook will be made out of it
plbook ?playbook.PlayBook
reset bool
}
pub fn play(args_ PlayArgs) ! {
mut args := args_
mut plbook := args.plbook or { playbook.new(text: args.heroscript)! }
pub fn play(mut plbook PlayBook) ! {
mut install_actions := plbook.find(filter: 'gitea.configure')!
if install_actions.len > 0 {
for install_action in install_actions {

View File

@@ -79,18 +79,8 @@ fn set_in_mem(o LivekitServer) ! {
livekit_default = o.name
}
@[params]
pub struct PlayArgs {
pub mut:
heroscript string // if filled in then plbook will be made out of it
plbook ?playbook.PlayBook
reset bool
}
pub fn play(args_ PlayArgs) ! {
mut args := args_
mut plbook := args.plbook or { playbook.new(text: args.heroscript)! }
pub fn play(mut plbook PlayBook) ! {
mut install_actions := plbook.find(filter: 'livekit.configure')!
if install_actions.len > 0 {

View File

@@ -30,7 +30,7 @@ pub mut:
reset bool
}
pub fn play(args_ PlayArgs) ! {
pub fn play(mut plbook PlayBook) ! {
mut args := args_
mut plbook := args.plbook or { playbook.new(text: args.heroscript)! }

View File

@@ -31,7 +31,7 @@ pub mut:
reset bool
}
pub fn play(args_ PlayArgs) ! {
pub fn play(mut plbook PlayBook) ! {
mut args := args_
mut plbook := args.plbook or { playbook.new(text: args.heroscript)! }