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: ariane.fet.htu.tuwien.ac.at
inventory_hostname_short: ariane inventory_hostname_short: ariane
lxc: lxc:
containers: 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 - name: betam
revision: "01" revision: "01"
template: debian template: debian
config: 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 - lxc.cgroup.devices.allow = c 188:0 rwm
- name: zyklon - name: zyklon
revision: "01" revision: "01"
template: voidlinux template: voidlinux
config: config:
- lxc.network.hwaddr = 2e:6d:b6:07:15:01 - lxc.network.hwaddr = 2e:6d:b6:07:15:01
- lxc.pts = 6 - 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: fet_hosts:
hosts: hosts:
ariane: ariane:
fet_containers: fet_lxc_debian:
hosts: hosts:
lxc-pet-01: lxc-pet-01:
laika:
betam: betam:
proteus:
fet_lxc_void:
hosts:
zyklon: zyklon:
vars: vars:
ansible_python_interpreter=/usr/bin/python3 ansible_python_interpreter=/usr/bin/python3

View File

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

View File

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