Add laika and proteus

This commit is contained in:
Daniel A. Maierhofer
2018-03-28 12:23:24 +02:00
parent 2120fe3010
commit 9536403412
8 changed files with 41 additions and 4 deletions

2
group_vars/fet_lxc_void Normal file
View File

@@ -0,0 +1,2 @@
---
common_apt: False

View File

@@ -1,17 +1,40 @@
---
inventory_hostname: ariane.fet.htu.tuwien.ac.at
inventory_hostname_short: ariane
lxc:
containers:
- name: laika
revision: "01"
template: debian
config:
- lxc.network.1.type = veth
- lxc.network.1.hwaddr = 1c:bd:b9:7f:fe:a4
- lxc.network.1.link = br0
- lxc.network.1.flags = up
- name: betam
revision: "01"
template: debian
config:
- lxc.network.hwaddr = 2e:6d:b6:07:14:01
- lxc.network.1.type = veth
- lxc.network.1.hwaddr = 2e:6d:b6:07:14:01
- lxc.network.1.link = br0
- lxc.network.1.flags = up
- lxc.cgroup.devices.allow = c 188:0 rwm
- name: zyklon
revision: "01"
template: voidlinux
config:
- lxc.network.hwaddr = 2e:6d:b6:07:15:01
- lxc.pts = 6
- name: proteus
revision: "01"
template: debian
config:
- lxc.network.1.type = veth
- lxc.network.1.hwaddr = 2e:6d:b6:07:16:01
- lxc.network.1.link = br0
- lxc.network.1.flags = up

2
host_vars/lxc-laika-01 Normal file
View File

@@ -0,0 +1,2 @@
inventory_hostname: laika.fet.htu.tuwien.ac.at
inventory_hostname_short: laika

2
host_vars/lxc-proteus-01 Normal file
View File

@@ -0,0 +1,2 @@
inventory_hostname: proteus.fet.htu.tuwien.ac.at
inventory_hostname_short: proteus

View File

@@ -3,10 +3,14 @@ all:
fet_hosts:
hosts:
ariane:
fet_containers:
fet_lxc_debian:
hosts:
lxc-pet-01:
laika:
betam:
proteus:
fet_lxc_void:
hosts:
zyklon:
vars:
ansible_python_interpreter=/usr/bin/python3

View File

@@ -1,5 +1,5 @@
lxc.network.type = veth
lxc.network.link = br0
lxc.network.link = lxcbr0
lxc.network.flags = up
lxc.aa_profile = unconfined

View File

@@ -13,7 +13,11 @@
roles:
- common
- hosts: fet_containers
- hosts: fet_lxc_debian
roles:
- common
- hosts: fet_lxc_void
roles:
- common