From: Sébastien Han Date: Thu, 3 May 2018 14:54:53 +0000 (+0200) Subject: common: copy iso files if rolling_update X-Git-Tag: v3.1.0beta9~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=4a186237e6fdc98f779c2e25985da4325b3b16cd;p=ceph-ansible.git common: copy iso files if rolling_update If we are in a middle of an update we want to get the new package version being installed so the task that copies the repo files should not be skipped. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1572032 Signed-off-by: Sébastien Han --- diff --git a/roles/ceph-common/tasks/installs/prerequisite_rhcs_iso_install.yml b/roles/ceph-common/tasks/installs/prerequisite_rhcs_iso_install.yml index d95bc66f5..53f3b7f22 100644 --- a/roles/ceph-common/tasks/installs/prerequisite_rhcs_iso_install.yml +++ b/roles/ceph-common/tasks/installs/prerequisite_rhcs_iso_install.yml @@ -34,7 +34,7 @@ - name: copy red hat storage iso content for redhat systems shell: cp -r {{ ceph_rhcs_mount_path }}/* {{ ceph_rhcs_repository_path }} args: - creates: "{{ ceph_rhcs_repository_path }}/README" + creates: "{{ ceph_rhcs_repository_path+'/README' if not rolling_update else 'dummy' }}" - name: unmount red hat storage iso file for redhat systems mount: