view playbook.yml @ 2:89bab1aed02c

add file and change playbook
author taiki
date Tue, 21 Oct 2014 05:56:00 +0900
parents ff572fb7ba56
children 10b8ebf3d1ad
line wrap: on
line source

- 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 libvirt"
      yum: name="libvirt" state=latest

    - name: "Make directory for mercurial"
      file: dest=/home/one/hg state=directory

    - name: "Install kmod-gfs"
      yum: name="kmod-gfs" state=latest

    - name: "Install kmod-gfs"
      yum: name="gfs2-utils" state=latest

    - name: "Install cman"
      yum: name="cman" state=latest

    - name: "Install lvm2-cluster"
      yum: name="lvm2-cluster" state=latest

    - 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