代码拉取完成,页面将自动刷新
# -*- mode: ruby -*-
# vi: set ft=ruby :
# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
#system("
# if [ #{ARGV[0]} = 'up' ]; then
# ./requirements.sh
# fi
#")
Vagrant.configure(2) do |config|
# The most common configuration options are documented and commented below.
# For a complete reference, please see the online documentation at
# https://docs.vagrantup.com.
# Every Vagrant development environment requires a box. You can search for
# boxes at https://atlas.hashicorp.com/search.
config.vm.box = "ubuntu/trusty64"
config.vm.define :node1 do |node1|
#
# Networking
#
node1.vm.network 'private_network', ip: '192.168.33.10'
#
# VM Setup
#
# Set the hostname to something useful
node1.vm.hostname = 'influxdb-node1'
node1.vm.define :influxdb_node1, {}
node1.vm.provision 'ansible' do |ansible|
ansible.playbook = 'ansible/main.yml'
ansible.tags = ENV['ANSIBLE_TAGS'] unless ENV['ANSIBLE_TAGS'].to_s.empty?
ansible.sudo = true
end
end
end
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。