title: Unable to solve error in block and rescue
body: <p>i have written a code in ansible with block and rescue method for error handling. i have given when condition in block, so when it satisfies it imports the playbook i have written inside Block.</p>
  
  <p>and for the values in when condition i have given with_items below it.Alignment and everything is good only. but i getting error with that with_items.Below is the tasks part i have written</p>
  
  <p>tasks:</p>
  
  <pre><code>  - name: including the user_list
      include_vars: Users.yml
      no_log: 'yes'
    - name: user validating using block
      block:
       - import_playbook: CIname.yml
      when: '"{{ CI_name }}" == item.ci_name and "{{ username }}" == item.username'
      with_items: "{{ user_list }}"
      rescue:
          - name: Update the work notes of the incident when block fails
  
      always:
        - name: Post the status back to ServiceNow
  
  </code></pre>
  
  <p>error i am gettin is:</p>
  
  <p><code>ERROR! 'with_items' is not a valid attribute for a Play be elsewhere in the file depending on the exact syntax problem.</code></p>