view playbook.yml @ 4:10b8ebf3d1ad

fix ansible execute command in readme
author taiki
date Tue, 21 Oct 2014 06:06:34 +0900
parents 89bab1aed02c
children c7244cc32aef
line wrap: on
line source

- hosts: bladeservers
  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