title: Include vars from a file for multiple import_playbooks
body: <p>This is an error using Ansible 2.7</p>
  
  <p>I am trying to include a files with vars in it into my playbook that has multiple import_playbooks.</p>
  
  <p>I have 3 files. </p>
  
  <ol>
  <li>one with all the vars</li>
  <li>one with a playbook and a task</li>
  <li>one with an import_playbook</li>
  </ol>
  
  <p>My playbook:</p>
  
  <pre><code>---
  - name: Create CPG
    hosts: localhost
  
    tasks:
     - name: Create CPG "{{ cpg_name }}"
       hpe3par_cpg:
        storage_system_ip: "{{ storage_system_ip }}"
        storage_system_username: "{{ storage_system_username }}"
        storage_system_password: "{{ storage_system_password }}"
        state: present
        cpg_name: "{{ cpg_name }}"
        #domain: "{{ domain }}"
        growth_increment: "{{ growth_increment }}"
        growth_increment_unit: "{{ growth_increment_unit }}"
        growth_limit: "{{ growth_limit }}"
        growth_limit_unit: "{{ growth_limit_unit }}"
        growth_warning: "{{ growth_warning }}"
        growth_warning_unit: "{{ growth_warning_unit }}"
        raid_type: "{{ raid_type }}"
        set_size: "{{ set_size }}"
        high_availability: "{{ high_availability }}"
        disk_type: "{{ disk_type }}"
  </code></pre>
  
  <p>The playbook where I will call my tasks and my variables: </p>
  
  <pre><code>---
  - name: master
    hosts: localhost
  
  - import_playbook: create_CPG.yml
     include_vars: properties/variables.yml
  </code></pre>
  
  <p>I get this error when running "ansible-playbook create_master.yml"</p>
  
  <pre><code>ERROR! Syntax Error while loading YAML.
    mapping values are not allowed in this context
  
  The error appears to have been in '/home/simon/Documents/Ansible/create_MasterPlaybook.yml': line 6, column 16, but may
  be elsewhere in the file depending on the exact syntax problem.
  
  The offending line appears to be:
  
  - import_playbook: create_CPG.yml
     include_vars: properties/variables.yml
                 ^ here
  </code></pre>
  
  <p>Is there a way to call a file with variables for only this import_playbook. </p>
  
  <p>thank you</p>