0
0
mirror of https://github.com/thegeeklab/wp-ansible.git synced 2024-11-25 19:10:39 +00:00

fix linting

This commit is contained in:
Robert Kaussow 2021-01-26 12:04:27 +01:00
parent 0c507648a9
commit 98579a6657
No known key found for this signature in database
GPG Key ID: 65362AE74AF98B61

View File

@ -21,6 +21,7 @@ host_key_checking = False
` `
type ( type (
// Config for the plugin.
Config struct { Config struct {
Requirements string Requirements string
Galaxy string Galaxy string
@ -59,11 +60,13 @@ type (
BecomeUser string BecomeUser string
} }
// Plugin definition.
Plugin struct { Plugin struct {
Config Config Config Config
} }
) )
// Exec provides the implementation of the plugin.
func (p *Plugin) Exec() error { func (p *Plugin) Exec() error {
if err := p.playbooks(); err != nil { if err := p.playbooks(); err != nil {
return err return err