Hi,

I encounter a bug when i want to use "with_items" in include file when 
module "include" already use 'with_items"...

Exemple :

*tasks/main.yml :*
>   include: 'includes/filesystem.yml'
>   vars:
>     project_config: "{{ item }}"
>   with_items:
>     - "{{ host_web_apps_applications }}"
>   when: 
>     - "project_config.host_web_apps_vg_name is defined"
>
 

> *tasks/includes/filesystem.yml :*
> - name: "[FILESYSTEM] Check mysql data"
>   stat: path="{{ apache_default_path }}"
>   register: fs_www
>   
> - debug: msg="{{ fs_www }}"
>   with_items: "{{ fs_www }}"
>
 

> *Result :* 
>
 

> TASK [web_apps : [P300] [OM] [FILESYSTEM] Check mysql data] 
>> ********************
>
> ok: [DEBIANVM]
>
>
>> TASK [web_apps : debug] 
>> ********************************************************
>
> skipping: [DEBIANVM] => (item=stat)
>
> skipping: [DEBIANVM] => (item=changed)
>
>
>
Anybody say why debug is skipping in my include file ?? oO
When i remove when condition in include module, debug work fine...

Thx for your help :) 

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to