I executed a command like: `ansible all -i "user1@ip1:22,user2@ip2:port2" -m shell -a "echo 1" --private-key /root/.ssh/id_rsa`. But it could not work. I want to know whether there is a way to let me specify different user for different host in command line(not using a inventory file).
-- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/1535cb21-bbd8-4a99-9f43-cc080ae53ae2n%40googlegroups.com.
