Skip to content

Instantly share code, notes, and snippets.

@ebuildy
Created May 24, 2015 15:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ebuildy/426fd26446422977f50e to your computer and use it in GitHub Desktop.
Save ebuildy/426fd26446422977f50e to your computer and use it in GitHub Desktop.
Vagrant.configure("2") do |config|
config.vm.provider :azure do |azure, override|
override.vm.box = "azure"
override.ssh.username = "tom"
azure.mgmt_certificate = '/Users/tom/Documents/Azure/Kinoulink/mgt.pem'
azure.mgmt_endpoint = 'https://management.core.windows.net'
azure.subscription_id = '*******************************'
azure.storage_acct_name = 'kinoulinkjuju'
azure.vm_image = 'b39f27a8b8c64d52b05eac6a62ebad85__Ubuntu-14_04-LTS-amd64-server-20140618.1-en-us-30GB'
azure.vm_user = 'tom'
#azure.vm_password = ''
azure.vm_name = 'consul-1'
azure.vm_location = 'West Europe'
azure.cloud_service_name = 'k-consul'
azure.deployment_name = 'consul'
azure.private_key_file = '/Users/tom/Documents/Azure/Bizlunch/azure-private.key'
azure.certificate_file = '/Users/tom/Documents/Azure/Bizlunch/azure-certificate.cer'
azure.ssh_port = '666'
end
config.vm.provision "ansible" do |ansible|
ansible.playbook = "playbook.yml"
#ansible.verbose = "vvvv"
#ansible.inventory_path = "../inventories/dev"
ansible.limit = 'all'
ansible.extra_vars = {
hostname: "Kinoulink Consul"
}
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment