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

16 lines
291 B
Go
Raw Normal View History

2015-03-10 00:11:57 -04:00
package main
import (
"github.com/bhcleek/packer-provisioner-ansible/provisioner/ansible"
"github.com/mitchellh/packer/packer/plugin"
)
func main() {
server, err := plugin.Server()
if err != nil {
panic(err)
}
server.RegisterProvisioner(new(ansible.Provisioner))
server.Serve()
}