title: Where would Ansible run a command if no directory is specified?
body: <p>I am encountering a problem where I am running the same tasks on 2 remote nodes and the directories that those commands are executed at are different. </p>
  
  <p>If I run <code>pwd</code> through Ansible on each remote host before this command, they return different paths. For example <code>/usr</code> and <code>/usr/src</code>. If I log into the remote host manually I go to <code>/usr/src</code> for both (As specified in their configuration files). </p>
  
  <p>Can anyone explain to me why is this happening? To what directory does Ansible go if you run a command without specifying a <code>chdir</code>?</p>