Hi All, 

I'm setting this into roles/test/defaults/main.yml

domain:
  template: "{{ mw_home }}/wlserver_10.3/common/templates/domains/wls.jar"
  override: true
  name: "superduper_domain"
  home: "{{ oracle_base }}/domains/{{ domain.name }}"
  passwordPath: "Security/base_domain/User/weblogic"


But when run the task got this error: (loop error)

fatal: [172.21.0.6] => Failed to template {{ domain.name }}: Failed to 
template {{ oracle_base }}/domains/{{ domain.name }}: Failed to template {{ 
oracle_base }}/domains/{{ domain.name }}: Failed to template {{ oracle_base 
}}/domains/{{ domain.name }}:....



My task:
- name: create WLST files for domains
  template:
    src: create_domains.py.j2
    dest: "/tmp/{{ item }}.py"
    owner: "{{ oracle_user }}"
    group: "{{ oracle_group }}"
  with_items: "{{ domain.name }}"


Some advice?

Thanks
Alejandro

-- 
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/4b8e8355-fe92-481c-8689-ba221a1b08f5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to