Skip to content

Instantly share code, notes, and snippets.

@avoidik
Last active April 9, 2018 08:32
Show Gist options
  • Select an option

  • Save avoidik/8623595ad95065bbd7066f96bf768269 to your computer and use it in GitHub Desktop.

Select an option

Save avoidik/8623595ad95065bbd7066f96bf768269 to your computer and use it in GitHub Desktop.
Vagrant - access internal methods
a = Vagrant.plugin("2").manager.provisioners[:ansible_local].new(machine, config)
puts a.send(:generate_inventory_machines)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment