Skip to content

Commit c371dcb

Browse files
committed
Fix role template path
1 parent d36391f commit c371dcb

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
@@ -586,7 +586,7 @@ const watchesTmpl = `---
586586
- version: {{.Version}}
587587
group: {{.GroupName}}
588588
kind: {{.Kind}}
589-
{{ if .GeneratePlaybook }} playbook: /opt/ansible/playbook.yaml{{ else }} role: {{.Kind}}{{ end }}
589+
{{ if .GeneratePlaybook }} playbook: /opt/ansible/playbook.yaml{{ else }} role: /opt/ansible/roles/{{.Kind}}{{ end }}
590590
`
591591

592592
const playbookTmpl = `- hosts: localhost

0 commit comments

Comments
 (0)