Last active
January 17, 2016 20:11
-
-
Save mbarcia/d2b702ccf1ae8eb67193 to your computer and use it in GitHub Desktop.
host_vars config file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file describes the network interfaces available on your system | |
# and how to activate them. For more information, see interfaces(5). | |
source /etc/network/interfaces.d/* | |
# The loopback network interface | |
auto lo | |
iface lo inet loopback | |
# The primary network interface | |
allow-hotplug eth0 | |
iface eth0 inet dhcp | |
pre-up sleep 2 | |
#VAGRANT-BEGIN | |
# The contents below are automatically generated by Vagrant. Do not modify. | |
auto eth1 | |
iface eth1 inet static | |
address 192.168.146.197 | |
netmask 255.255.255.0 | |
#VAGRANT-END | |
subnetwork_ipv4: '192.168.128.1/24' | |
subnetwork_ipv4_options: | |
- 'br2': | | |
dns-nameservers 10.0.2.15 | |
dns-search lavanguardia.com | |
lxc_configuration_default: 'nat' | |
lxc_containers: | |
# List of LXC containers managed by Ansible. | |
# Examples:: | |
# | |
# lxc_containers: | |
# | |
# # Simple container, not started by default, autostart on boot enabled | |
# - name: 'example-container' | |
# # Simple container started automatically | |
# - name: 'container' | |
# state: 'started' | |
# Debian container, started automatically, network behind NAT | |
- name: 'local-lxc' | |
config: True | |
network: 'nat' | |
state: 'started' | |
template: 'debian' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment