I am trying to import the schema it is failing , please suggest me to solve this error
You will need to use shell
instead of command
.
Per the documentation:
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 “&” will not work (use the shell module if you need these features).