--- - name: Get convenience script uri: url: "https://get.docker.com" method: GET dest: /tmp/get-docker.sh mode: a+x creates: /tmp/get-docker.sh - name: Execute script ansible.builtin.shell: /tmp/get-docker.sh