I don’t meant to burst your bubble but a module to do this already exists 
http://docs.ansible.com/ansible/latest/osx_defaults_module.html. It may be good 
to look into that and see if it does what you are looking to so. For this 
issue, complex usually means a rift type, you may be better off setting the 
type as a string and say in the description the type could change depending on 
the key. Unfortunately there isn’t an easy way to do what you are looking to do 
here.

Thanks

Jordan

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/40886db2-f926-4694-ad03-22f21401ec97%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to