-
Notifications
You must be signed in to change notification settings - Fork 0
/
vagrant-hosts.yml
45 lines (40 loc) · 1.67 KB
/
vagrant-hosts.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# vagrant_hosts.yml
#
# List of hosts to be created by Vagrant. This file controls the Vagrant
# settings, specifically host name and network settings. You should at least
# have a `name:`. Other optional settings that can be specified:
#
# * `ip`: by default, an IP will be assigned by DHCP. If you want a fixed
# addres, specify it.
# * `netmask`: by default, the network mask is `255.255.255.0`. If you want
# another one, it should be specified.
# * `mac`: The MAC address to be assigned to the NIC. Several notations are
# accepted, including "Linux-style" (`00:11:22:33:44:55`) and
# "Windows-style" (`00-11-22-33-44-55`). The separator characters can
# be omitted altogether (`001122334455`).
# * `intnet`: If set to `true`, the network interface will be attached to an
# internal network rather than a host-only adapter.
# * `auto_config`: If set to `false`, Vagrant will not attempt to configure
# the network interface.
# * `synced_folders`: A list of dicts that specify synced folders. `src` and
# `dest` are mandatory, `options:` are optional. For the possible options,
# see the Vagrant documentation[1]. Keys of options should be prefixed with
# a colon, e.g. `:owner:`.
#
# To enable *provisioning*, add these hosts to site.yml and assign some roles.
#
# [1] http://docs.vagrantup.com/v2/synced-folders/basic_usage.html
---
- name: pu004 #WebServer
ip: 192.0.2.50
- name: pu001 #Primary DNS
ip: 192.0.2.10
- name: pu002 #Secondary DNS
ip: 192.0.2.11
- name: pr011 #FileServer
ip: 172.16.0.11
- name: pr001 #DHCPServer
ip: 172.16.0.2
- name: dockerhost
ip: 192.0.2.51
box: bento/fedora-29