]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
Create a local fetch directory if it doesn't exist 334/head
authorAndrew F. Ly <lyandrewf@gmail.com>
Sat, 25 Jul 2015 03:10:39 +0000 (22:10 -0500)
committerAndrew F. Ly <lyandrewf@gmail.com>
Sat, 25 Jul 2015 03:10:39 +0000 (22:10 -0500)
roles/ceph-common/tasks/main.yml

index 55fd1586091d31ef385a2efee2660cee993f68fc..c390da93d5d1506f00c6ba5e94d18847661d2450 100644 (file)
   ignore_errors: true
   register: socketrgw
 
+- name: create a local fetch directory if it doesn't exist
+  local_action: file path=fetch state=directory 
+  changed_when: false
+  sudo: false
+
 - name: generate cluster uuid
   local_action: shell uuidgen | tee fetch/ceph_cluster_uuid.conf
     creates=fetch/ceph_cluster_uuid.conf