changeset 0:315d642de8e5

add ansible playbook yml file.
author taiki
date Mon, 20 Oct 2014 06:45:47 +0900
parents
children ff572fb7ba56
files playbook.yml
diffstat 1 files changed, 32 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/playbook.yml	Mon Oct 20 06:45:47 2014 +0900
@@ -0,0 +1,32 @@
+- hosts: blade-servers
+  sudo: yes
+  tasks:
+    - name: "Yum update"
+      yum: name=* state=latest
+
+    - name: "Install Development tools"
+      yum: name="@Development tools" state=latest
+
+    - name: "Install kvm"
+      yum: name="kvm" state=latest
+
+    - name: "Install docker-io"
+      yum: name="docker-io" state=latest
+
+    - name: "Install mercurial"
+      yum: name="mercurial" state=latest
+
+    - name: "Install mercurial"
+      yum: name="mercurial" state=latest
+
+    - name: "Install libvirt"
+      yum: name="libvirt" state=latest
+
+    - name: "Make directory for mercurial"
+      file: dest=/home/one/hg state=directory
+      
+    - name: "Clone ie-virsh"
+      hg: dest=/home/one/hg repo=ssh://one@firefly.cr.ie.u-ryukyu.ac.jp//hg/Applications/virsh-wrapper
+
+    - name: "Clone ie-docker"
+      hg: dest=/home/one/hg repo=ssh://one@firefly.cr.ie.u-ryukyu.ac.jp//hg/Applications/docker-wrapper