title: Do Ansible modules run locally or on the remote host?
body: <p>I am running an Ansible playbook that uses the <strong>route53</strong> module and getting an error saying I need 'boto' installed:</p>
  
  <pre><code>TASK [dns : Retrieve DNS record] ***********************************************
  fatal: [10.13.25.12]: FAILED! =&gt; {"changed": false, "failed": true, "msg": "boto required for this module"}
  </code></pre>
  
  <p>I do have 'boto' installed on my Ansible machine.</p>
  
  <p><strong>Question: Do all Ansible modules cited in Playbook tasks actually run on the remote host machine?</strong></p>
  
  <p>I have added tasks that install 'python-pip' and 'boto', but it seems that boto should be running on my Ansible server. I feel like I've done something wrong here.</p>
  
  <p>Here are my tasks for installing pip/boto on my remote host machine which do result in no more errors in the running of the route53 module:</p>
  
  <pre><code>- name: Install Pip
    apt: name=python-pip state=present
  
  - name: Install boto
    pip: name=boto
  </code></pre>