title: Ansible - how to register output from "FIND" module and use in other
body: <p>I need to find a files in unknown directory place and remove them.
  Tried to use "find" module, register its output, and pass it to "file".</p>
  
  <p>Even if I see path registered, I can not use it later:</p>
  
  <pre><code>&lt; TASK [print find_result] &gt;
  ok: [1.2.3.4] =&gt; {
      "find_result": {
          "changed": false, 
          "examined": 3119, 
          "files": [
              {
                  "atime": 1483973253.7295375, 
             ...
                  "mode": "0600", 
                  "mtime": 1483973253.7295375, 
                  "nlink": 1, 
                  "path": "/tmp/delme", 
  </code></pre>
  
  <p>My playbook is:</p>
  
  <pre><code>- hosts: "{{ target }}"
    become: no
    vars:
      find_what: "delme*"
      find_where: "/tmp"
  
    tasks:
    - name: finding files
      find:
        paths:            "{{ find_where }}"
        patterns:         "{{ find_what }}"
        recurse:          "yes"
        file_type:        "file"
      register: find_result
  
  # \/ for debugging
    - name: print find_result
      debug: var=find_result
  
    - name: remove files
      file:
          path= "{{ item.path }}"
          state=absent
      with_items: "{{ find_result.files }}"
  </code></pre>