ansible wget then exec scripts => Entspricht get_url

Ich frage mich immer, was ist der gute Weg, um die folgenden @ zu ersetzshell Tasks auf "ansible way" (mitget_url, etc.)

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

ode

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

Antworten auf die Frage(12)

Ihre Antwort auf die Frage