synchronize: fix the mixture of quoting and passing of lists to run_command (#38020)
synchronize: fix the mixture of quoting and passing of lists to run_command (#38020)

* switch to six.moves.shlex_quote

* remove the unncessary quotes on rsh
thaim/ansible,thaim/ansible