diff --git a/plugins/provisioners/ansible/plugin.rb b/plugins/provisioners/ansible/plugin.rb index e18628ac6..0cafe47fb 100644 --- a/plugins/provisioners/ansible/plugin.rb +++ b/plugins/provisioners/ansible/plugin.rb @@ -10,12 +10,12 @@ module VagrantPlugins DESC config(:ansible, :provisioner) do - require_relative "config" + require File.expand_path("../config", __FILE__) Config end provisioner(:ansible) do - require_relative "provisioner" + require File.expand_path("../provisioner", __FILE__) Provisioner end end