packer-cn/plugin/provisioner-ansible-local/main.go

16 lines
284 B
Go
Raw Normal View History

2013-09-29 16:38:37 -04:00
package main
import (
"github.com/mitchellh/packer/packer/plugin"
"github.com/mitchellh/packer/provisioner/ansible-local"
)
func main() {
2013-12-10 16:59:38 -05:00
server, err := plugin.Server()
if err != nil {
panic(err)
}
server.RegisterProvisioner(new(ansiblelocal.Provisioner))
server.Serve()
2013-09-29 16:38:37 -04:00
}