]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
common: ensure rsync is installed for local install 1662/head
authorDouglas Fuller <dfuller@redhat.com>
Thu, 6 Jul 2017 17:29:43 +0000 (17:29 +0000)
committerDouglas Fuller <dfuller@redhat.com>
Thu, 6 Jul 2017 17:29:43 +0000 (17:29 +0000)
rsync is required by the ansible synchronize package. Ensure
it is installed when local installation is selected.

Signed-off-by: Douglas Fuller <dfuller@redhat.com>
roles/ceph-common/tasks/installs/install_on_redhat.yml

index e928d1323e9d901f5f476274538a151ccab880b3..e6129f845499f87eae4c3eaa1613c6f924c7ef97 100644 (file)
     - ceph_origin == 'local'
     - use_installer
 
+- name: ensure rsync is installed
+  package:
+    name: rsync
+    state: present
+  when:
+    - ceph_origin == 'local'
+
 - name: synchronize ceph install
   synchronize:
     src: "{{ceph_installation_dir}}/"