Skip to content

Commit c440cef

Browse files
authored
pkg/scaffold/ansible; Use yml as playbook extension (#945)
* pkg/scaffold/ansible; Use yml as playbook extensions * Use LowerKind for resource
1 parent 0067153 commit c440cef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/scaffold/ansible/playbook.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import (
1919
"github.com/operator-framework/operator-sdk/pkg/scaffold/input"
2020
)
2121

22-
const PlaybookYamlFile = "playbook.yaml"
22+
const PlaybookYamlFile = "playbook.yml"
2323

2424
// Playbook - the playbook tmpl wrapper
2525
type Playbook struct {
@@ -40,5 +40,5 @@ const playbookTmpl = `- hosts: localhost
4040
gather_facts: no
4141
tasks:
4242
- import_role:
43-
name: "{{.Resource.Kind}}"
43+
name: "{{.Resource.LowerKind}}"
4444
`

0 commit comments

Comments
 (0)