Re: [ansible-project] dict/hash-layout question

2014-07-08 Thread stibbons . peter
Ok, at least I know then. I'll try your suggestions and see where it takes me. As for the use case, this will be part of an Oracle DBaaS-offering where we're going to use Ansible to deploy everything (Provision VM's, os/storage-config, Oracle Real Application clusters etc) and this is one

[ansible-project] dict/hash-layout question

2014-07-07 Thread stibbons . peter
Hi, I'm kind of new to Ansible and I haven't really gotten the terminology down yet, so I hope you'd bear with me. I've got a task which loops through a bunch of disks and performs a set of operations on them. The placeholders/keys (CRS,DATA,FRA) are names on a sort of logical volumes which

Re: [ansible-project] dict/hash-layout question

2014-07-07 Thread Michael DeHaan
It seems like you're going to need another type of iterator (lookup plugin) that doesn't exist to traverse these, akin to something like a with_dict_items or something. I don't know your use cases, but another option might be to just make the data and fra stuff a element inside the hash. -