Commit 4f8ea3a
Changed files (5)
roles/hosting/docker-bootstrap.yml
@@ -0,0 +1,11 @@
+---
+# install dependencies needed to run the binary docker lxc engine (http://www.docker.io/)
+- hosts: local
+ user: xenny
+ tasks:
+ - name: Install lxc
+ action: apt pkg=lxc state=latest
+ - name: Install bsdtar
+ action: apt pkg=bsdtar state=latest
+ - name: Update Kernel to 3.8
+ action: apt pkg=linux-image-generic-lts-raring
ansible-bootstrap.yml
hosting.yml
@@ -0,0 +1,5 @@
+---
+# file: hosting.yml
+- hosts: hosting
+ roles:
+ - hosting
hosts
@@ -0,0 +1,2 @@
+[local]
+localhost
production
@@ -0,0 +1,36 @@
+[x-hosting]
+ipa
+ipb
+
+[y-hosting]
+ipc
+ipd
+
+[x-vms]
+ipe
+ipf
+ipg
+
+[y-vms]
+iph
+ipi
+
+# all hosting
+[hosting:children]
+x-hosting
+y-hosting
+
+# all vms
+[vms:children]
+x-vms
+y-vms
+
+# all x
+[x:children]
+x-hosting
+x-vms
+
+# all y
+[y:children]
+y-hosting
+y-vms