view playbook.yml @ 0:315d642de8e5

add ansible playbook yml file.
author taiki
date Mon, 20 Oct 2014 06:45:47 +0900
parents
children ff572fb7ba56
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 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