Ansible Command module says that ‘|’ is illegal character
From the doc: command – Executes a command on a remote node The command module takes the command name followed by a list of space-delimited arguments. The given command will be executed on all selected nodes. It will not be processed through the shell, so variables like $HOME and operations like “<“, “>”, “|”, and … Read more