title: Ansible local_action directive
body: <p>I'm quite new to Ansible and have a simple question for my understanding of <code>local_action</code> directive.</p>
  
  <p>Would that mean that the command is fully executed locally? Let's say you have something like this:</p>
  
  <pre><code>local_action: command which nginx
  register: check_nginx
  failed_when: no
  changed_when: no
  </code></pre>
  
  <p>Then you have another block looking for nginx's existence with something like that:</p>
  
  <pre><code>- fail: msg="nginx unavailable"
    when: check_nginx.rc == 1
  </code></pre>
  
  <p>Does that mean that playbook will fail in case nginx is not installed locally or will it fail if is not installed remotely ?</p>