title: Ansible archive module "no action detected in task"
body: <p>I want to use the archive module of ansible but it is unfortunately not working. I have the following version installed: <strong>ansible 2.3.0 (devel 2131eaba0c)</strong></p>
  
  <p>my playbook looks like this:</p>
  
  <pre><code>- archive: path="{{path_dir}}" dest="{{dest_dir}}/foo.zip" format=zip
  </code></pre>
  
  <p>The output looks like this:</p>
  
  <pre><code>"failed": true, "reason": "no action detected in task. This often indicates a misspelled module name, or incorrect module path.
  The error appears to have been in '/prj/sndbox1/app/jenkins/jobs/release/workspace/tasks/build_rpclient.yml': line 125, column 3, but may be elsewhere in the file depending on the exact syntax problem.
  The offending line appears to be:
  
  - archive: path="{{path_dir}}" dest="{{dest_dir}}/foo.zip" format=zip
    ^ here
  We could be wrong, but this one looks like it might be an issue with missing quotes.  Always quote template expression brackets when they start a value. For instance:
      with_items:
       - {{ foo }}
  Should be written as:
      with_items:
       - "{{ foo }}"
  </code></pre>
  
  <p>As far as I understood the <a href="https://docs.ansible.com/ansible/modules_extra.html" rel="nofollow noreferrer">doc</a>, the extra modules are shipped within ansible, so I assume I don't need to separately install this module.</p>
  
  <p>However, what am I doing wrong? Is there any configuration I need to change in order to tell ansible where to look for the extra modules?</p>
  
  <p>Thanks in advance!</p>
  
  <p><strong>Edit:</strong> Included the the full log message</p>
  
  <p><strong>Edit 2:</strong></p>
  
  <p>I tried to put the archive.py directly into my working directory --> [library]/archive.py</p>
  
  <p>Now I get the following error:</p>
  
  <pre><code>"failed": true, "msg": "Could not find imported module support code for archive.  Looked for either get_exception or pycompat24"
  </code></pre>