From b0891016a97a05e72bcf01c5e5b0b6c28581fa54 Mon Sep 17 00:00:00 2001 From: leseb Date: Fri, 3 Jul 2015 18:43:04 +0200 Subject: [PATCH 1/2] Fix the method used We need to collect the iso from the ansible server. Signed-off-by: leseb --- .../ceph-common/tasks/prerequisite_rh_storage_iso_install.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/roles/ceph-common/tasks/prerequisite_rh_storage_iso_install.yml b/roles/ceph-common/tasks/prerequisite_rh_storage_iso_install.yml index ec9895d3b..f6709a434 100644 --- a/roles/ceph-common/tasks/prerequisite_rh_storage_iso_install.yml +++ b/roles/ceph-common/tasks/prerequisite_rh_storage_iso_install.yml @@ -8,10 +8,9 @@ - "{{ ceph_stable_rh_storage_repository_path }}" - name: fetch the red hat storage iso from the ansible server - fetch: > + copy: > src={{ ceph_stable_rh_storage_iso_path }} dest={{ ceph_stable_rh_storage_iso_path }} - flat=yes - name: mount red hat storage iso file mount: > From 72df334b8cb97439806a8f0785d07fa59eaf2f36 Mon Sep 17 00:00:00 2001 From: leseb Date: Fri, 3 Jul 2015 18:46:57 +0200 Subject: [PATCH 2/2] Fix restapi invocation Hopefully for good this time... Signed-off-by: leseb --- site.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site.yml b/site.yml index edc85b3cc..faaeab4f1 100644 --- a/site.yml +++ b/site.yml @@ -5,7 +5,7 @@ sudo: True roles: - ceph-mon - - { role: ceph-restapi, when: restapi_group_name is defined } + - { role: ceph-restapi, when: restapi_group_name is defined and restapi_group_name in group_names } - hosts: osds sudo: True