Commit 01abd17
Changed files (6)
roles/hosting/tasks/main.yml
@@ -0,0 +1,8 @@
+---
+# install dependencies needed to run the binary docker lxc engine (http://www.docker.io/)
+- 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
roles/hosting/docker-bootstrap.yml
@@ -1,11 +0,0 @@
----
-# 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
hosts
@@ -1,2 +0,0 @@
-[local]
-localhost
inventory
@@ -0,0 +1,29 @@
+[local-hosting]
+127.0.0.1
+
+[local-dockers]
+
+[aws-hosting]
+
+[aws-dockers]
+
+# all hosting
+[hosting:children]
+local-hosting
+aws-hosting
+
+# all dockers
+[dockers:children]
+local-dockers
+aws-dockers
+
+# all local
+[local:children]
+local-hosting
+local-dockers
+
+# all aws
+[aws:children]
+aws-hosting
+aws-dockers
+
production
@@ -1,36 +0,0 @@
-[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