2013-03-20 14:41:21 +00:00
|
|
|
require "vagrant"
|
|
|
|
|
|
|
|
module VagrantPlugins
|
|
|
|
module Ansible
|
|
|
|
class Plugin < Vagrant.plugin("2")
|
|
|
|
name "ansible"
|
|
|
|
description <<-DESC
|
|
|
|
Provides support for provisioning your virtual machines with
|
|
|
|
Ansible playbooks.
|
|
|
|
DESC
|
|
|
|
|
|
|
|
config(:ansible, :provisioner) do
|
2013-04-04 07:07:30 +00:00
|
|
|
require File.expand_path("../config", __FILE__)
|
2013-03-20 14:41:21 +00:00
|
|
|
Config
|
|
|
|
end
|
|
|
|
|
|
|
|
provisioner(:ansible) do
|
2013-04-04 07:07:30 +00:00
|
|
|
require File.expand_path("../provisioner", __FILE__)
|
2013-03-20 14:41:21 +00:00
|
|
|
Provisioner
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|