mirror of https://github.com/ceph/ceph-ansible.git
Merge pull request #881 from ceph/rhbz-1355762
ceph-common: explicitly create the directory portion of the iso pathpull/878/head
commit
d3601599c9
|
@ -6,7 +6,13 @@
|
||||||
with_items:
|
with_items:
|
||||||
- "{{ ceph_stable_rh_storage_mount_path }}"
|
- "{{ ceph_stable_rh_storage_mount_path }}"
|
||||||
- "{{ ceph_stable_rh_storage_repository_path }}"
|
- "{{ ceph_stable_rh_storage_repository_path }}"
|
||||||
- "{{ ceph_stable_rh_storage_iso_path }}"
|
|
||||||
|
- name: ensure destination iso directory exists
|
||||||
|
file:
|
||||||
|
path: "{{ ceph_stable_rh_storage_iso_path | dirname }}"
|
||||||
|
state: directory
|
||||||
|
recurse: yes
|
||||||
|
when: "'{{ ceph_stable_rh_storage_iso_path | dirname }}' != '/'"
|
||||||
|
|
||||||
- name: fetch the red hat storage iso from the ansible server
|
- name: fetch the red hat storage iso from the ansible server
|
||||||
copy:
|
copy:
|
||||||
|
|
Loading…
Reference in New Issue