I am trying to setup a playbook to create SVMs and all the underlying LIFs for each SVM. My thought is that I could put all the data for each SVM and each LIF into my inventory file and then do a nested loop to setup each SVM, and then setup each LIF within each SVM. But, I can see to wrap my head around the formatting that I need to use for the inventory entries and/or the nested loop. If anyone can tell me what I'm doing wrong here, or suggest a better way to do this, it would be much appreciated! I'm trying to keep all the information in a single inventory file so we can enter all the information in the cluster in one place, and do the minimal amount of editing to avoid data entry mistakes.
My message was too long, so check out the attached txt file for examples of inventory, playbook, and output.