ansible wget then exec scripts => get_url equivalent
<p>I always wonder what is the good way to replace the following <code>shell</code> tasks using the "ansible way" (with <code>get_url</code>, etc.):</p>

<pre><code>- name: Install oh-my-zsh
  shell: wget -qO - https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | bash -
</code></pre>

<p>or </p>

<pre><code>- name: Install nodesource repo
  shell: curl -sL https://deb.nodesource.com/setup_5.x | bash -
</code></pre>