Create a local fetch directory if it doesn't exist

pull/334/head
Andrew F. Ly 2015-07-24 22:10:39 -05:00
parent 2c5b03b353
commit 76d2cd381d
1 changed files with 5 additions and 0 deletions

View File

@ -37,6 +37,11 @@
ignore_errors: true ignore_errors: true
register: socketrgw 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 - name: generate cluster uuid
local_action: shell uuidgen | tee fetch/ceph_cluster_uuid.conf local_action: shell uuidgen | tee fetch/ceph_cluster_uuid.conf
creates=fetch/ceph_cluster_uuid.conf creates=fetch/ceph_cluster_uuid.conf