From: pprokop Date: Tue, 28 Jun 2016 10:11:42 +0000 (+0200) Subject: Fix not creating pypy_binary_direcotry X-Git-Tag: v1.0.6~80^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F864%2Fhead;p=ceph-ansible.git Fix not creating pypy_binary_direcotry --- diff --git a/roles/ceph-common-coreos/tasks/install_pip.yml b/roles/ceph-common-coreos/tasks/install_pip.yml index 366d93f85..81d6d77e4 100644 --- a/roles/ceph-common-coreos/tasks/install_pip.yml +++ b/roles/ceph-common-coreos/tasks/install_pip.yml @@ -19,6 +19,9 @@ - name: add execute permission raw: chmod a+x {{pypy_directory}}/pip +- name: create pypy_directory + raw: mkdir -p {{pypy_binary_directory}} + - name: move python to binary directory raw: mv {{pypy_directory}}/pip {{pypy_binary_directory}}/pip diff --git a/roles/ceph-common-coreos/tasks/install_pypy.yml b/roles/ceph-common-coreos/tasks/install_pypy.yml index a441101a9..6a3c80166 100644 --- a/roles/ceph-common-coreos/tasks/install_pypy.yml +++ b/roles/ceph-common-coreos/tasks/install_pypy.yml @@ -2,6 +2,9 @@ - name: download python raw: cd $HOME && wget -O - {{coreos_pypy_url}} |tar -xjf - +- name: create pypy_directory + raw: mkdir -p {{pypy_binary_directory}} + - name: move pypy to pypy_install_directory raw: mv $HOME/pypy-{{coreos_pypy_version}}-{{coreos_pypy_arch}} {{pypy_directory}}