From: Alfredo Deza Date: Tue, 21 Jul 2015 19:09:23 +0000 (-0400) Subject: format and mount the ephemeral filesystem X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=35b11ea2f9f0a930541bf77f582ea4857a5e1474;p=ceph-build.git format and mount the ephemeral filesystem Signed-off-by: Alfredo Deza --- diff --git a/ansible/slave.yml.j2 b/ansible/slave.yml.j2 index bcc7901cb..304830813 100644 --- a/ansible/slave.yml.j2 +++ b/ansible/slave.yml.j2 @@ -50,6 +50,17 @@ - name: ensure the build dir exists file: path=/home/{{ jenkins_user }}/build state=directory owner={{ jenkins_user }} + - name: format /dev/vdb to ext4 + filesystem: fstype=ext4 dev=/dev/vdb + + - name: mount the ephemeral storage at the build dir + mount: + name: /home/jenkins-build/build + src: '/dev/vdb' + fstype: ext4 + opts: noatime + state: present + - name: copy the gnupg files to build/ synchronize: src=playbook/files/gnupg.ceph-release dest=/home/{{ jenkins_user }}/build/gnupg.ceph-release ignore_errors: true