title: How to extract the values from the ansible output using with_items/loops
body: <p>Trying to use below lines of codes</p>
  
  <pre><code>- name: reconstruct the path to test
      set_fact: 
        folder_check: "{{ item | join('\\\\') }}"
        # | regex_replace('\\\\', ',') 
      with_items:
        - "{{ path_list }}"
      ignore_errors: yes  
      register: output
  </code></pre>
  
  <p>When I execute this part of code, I get below output for SET_FACT task and not the output of Registered output var.</p>
  
  <pre><code>ok: [shancamw2k12.iafdomain.local] =&gt; (item=[u'C:', u'temp', u'temp1']) =&gt; {"ansible_facts": {"folder_check": "C:\\\\temp\\\\temp1"}, "changed": false, "item": ["C:", "temp", "temp1"]}
  ok: [shancamw2k12.iafdomain.local] =&gt; (item=[u'C:', u'temp']) =&gt; {"ansible_facts": {"folder_check": "C:\\\\temp"}, "changed": false, "item": ["C:", "temp"]}
  ok: [shancamw2k12.iafdomain.local] =&gt; (item=[u'C:']) =&gt; {"ansible_facts": {"folder_check": "C:"}, "changed": false, "item": ["C:"]}.
  </code></pre>
  
  <p>From this lines I should just extract <code>"folder_check": "C:\\\\temp\\\\temp1" ; "C:\\\\temp" and C:\\</code>.</p>