We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f8dead commit 310544fCopy full SHA for 310544f
pkg/generator/templates.go
@@ -611,7 +611,7 @@ const watchesTmpl = `---
611
- version: {{.Version}}
612
group: {{.GroupName}}
613
kind: {{.Kind}}
614
-{{ if .GeneratePlaybook }} playbook: /opt/ansible/playbook.yaml{{ else }} role: {{.Kind}}{{ end }}
+{{ if .GeneratePlaybook }} playbook: /opt/ansible/playbook.yaml{{ else }} role: /opt/ansible/roles/{{.Kind}}{{ end }}
615
`
616
617
const playbookTmpl = `- hosts: localhost
0 commit comments