update runPlaybook function
This commit is contained in:
@@ -55,7 +55,8 @@ func CopyK8SAdminConfig(pathInDataDir string) {
|
||||
}
|
||||
}
|
||||
|
||||
func runPlaybook(playbookPath string, playbookOptions playbook.AnsiblePlaybookOptions) {
|
||||
func runPlaybook(playbookPath string, tags string) {
|
||||
playbookOptions := getPlaybookParameters(tags)
|
||||
playbookCmd := playbook.NewAnsiblePlaybookCmd(
|
||||
playbook.WithPlaybooks(playbookPath),
|
||||
playbook.WithPlaybookOptions(&playbookOptions),
|
||||
|
||||
Reference in New Issue
Block a user