| --- | |
| # tasks file for apigee-opdk-setup-local-repository | |
| - name: Install rsync if its missing | |
| become: yes | |
| yum: | |
| name: rsync | |
| state: present | |
| - name: First scp download attempt failed, trying with rsync | |
| become: no | |
| synchronize: | |
| mode: pull | |
| partial: yes | |
| src: '{{ apigeerepobasepath }}/{{ apigee_archive_name }}' | |
| dest: '{{ local_apigee_path }}/{{ apigee_archive_name }}' | |
| register: result | |
| - name: Download archive status report | |
| debug: | |
| var: result |