Skip to content

Commit 310544f

Browse files
committed
Fix role template path
1 parent 7f8dead commit 310544f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/generator/templates.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ const watchesTmpl = `---
611611
- version: {{.Version}}
612612
group: {{.GroupName}}
613613
kind: {{.Kind}}
614-
{{ if .GeneratePlaybook }} playbook: /opt/ansible/playbook.yaml{{ else }} role: {{.Kind}}{{ end }}
614+
{{ if .GeneratePlaybook }} playbook: /opt/ansible/playbook.yaml{{ else }} role: /opt/ansible/roles/{{.Kind}}{{ end }}
615615
`
616616

617617
const playbookTmpl = `- hosts: localhost

0 commit comments

Comments
 (0)