Skip to content

Commit

Permalink
Fix role template path
Browse files Browse the repository at this point in the history
  • Loading branch information
dymurray committed Sep 26, 2018
1 parent 7f8dead commit 310544f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/generator/templates.go
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ const watchesTmpl = `---
- version: {{.Version}}
group: {{.GroupName}}
kind: {{.Kind}}
{{ 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 }}
`

const playbookTmpl = `- hosts: localhost
Expand Down

0 comments on commit 310544f

Please sign in to comment.