mirror of
https://github.com/thegeeklab/wp-ansible.git
synced 2024-11-22 10:00:38 +00:00
fix linting
This commit is contained in:
parent
0c507648a9
commit
98579a6657
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user