--- - name: "Ensure {{ app_data_path }} exists" file: path: "{{ app_data_path }}/downloads" state: directory - name: "Install rke-{{ rke_version }}" command: "curl --connect-timeout 10 -L https://github.com/rancher/rke/releases/download/v{{ rke_version }}/rke_linux-amd64 -o {{ app_data_path }}/downloads/rke_linux-amd64" register: result retries: 10 delay: 1 until: not result.failed args: warn: false