Hi,

I try to declare a variable which contains all my structure.

But for the struct.parts, i use a variable which declare in another branch 
of my struct var (struct.hdds) and it doesn't work ...

# Valorisation des variables de structures
struct:
 hdds:
  { disque: /dev/sdb,   pv_name: /dev/sdb1,    size: 8GiB,    vg_name: 
vgdata  }
 parts:
  - { vg: "{{ *struct.hdds.vg_name* }}",   lv_name: lvsoft,      fs: xfs, 
 mount: /soft,     size: 2000}
  - { vg: "{{ *struct.hdds.vg_name* }}",  lv_name: lvappexe,    fs: xfs, 
 mount: /appexe,   size: 2000}
  - { vg: "{{ *struct.hdds.vg_name* }}",  lv_name: lvexploit,   fs: xfs, 
 mount: /exploit,  size: 2000}
  - { vg: "{{ *struct.hdds.vg_name* }}",  lv_name: lvfslog,     fs: xfs, 
 mount: /fslog,    size: 2000}



Is it possible?

Thx for your help,

Matt

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/04b4d814-79a1-410f-98bc-59aee0f1e0bb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to