Sorry if this is a beginner question, but I am having trouble defining a 
dictionary of key value pairs in my vars file for one of my roles. My 
purpose for packaging these pairs instead of just setting them as variables 
is so that I can cycle through them in my templates. Here is my code:

# WebLogic Domain Templates
templates:
  jrf: "{{ common_home 
}}/common/templates/applications/jrf_template_11.1.1.jar"
  em: "{{ common_home 
}}/common/templates/applications/oracle.em_11_1_1_0_0_template.jar"
  wsm: "{{ common_home 
}}/common/templates/applications/oracle.wsmpm_template_11.1.1.jar"
  jrf_async: "{{ common_home 
}}/common/templates/applications/oracle.jrf.ws.async_template_11.1.1.jar"
  opss: "{{ oim_home 
}}/common/templates/applications/oracle.opss_11.1.1.3.0_template.jar"
  soa: "{{ soa_home 
}}/common/templates/applications/oracle.soa_template_11.1.1.jar"
  oim: "{{ oim_home 
}}/common/templates/applications/oracle.oim_11.1.2.0.0_template.jar"
# OIM Config

The error I get is:

ERROR: expecting dict; got: templates, error in /dir/to/vars/file.yml


-- 
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/f3699e36-80de-493f-94b9-d97096115ab9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to