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

16 lines
273 B
Go
Raw Normal View History

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