http://docs.ansible.com/ansible/shell_module.html
- name: なにか実行 shell: | echo hoge >> somelog.txt echo foo echo baa args: chdir: somedir/
shell
shellはリモートノードのシェル(/bin/sh)を通して実行される。 次の文字を使用できる。
$HOME, "<", ">", "|", "&"command
commandは次の文字を使用できない。
$HOME, "<", ">", "|", "&"