Dear all,

I have a role which is common to the app side, and then the app side needs 
to define a Map variable in their own playbooks.


   - In the common role, the template file will generate the corresponding 
   configuration with the Map variable? But I got the error:
   

TASK [max-daemon : Create Property file] ***********************************
> fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg": 
> "AnsibleUndefinedVariable: 'ansible.parsing.yaml.objects.AnsibleUnicode 
> object' has no attribute 'iteritems'"}
>         to retry, use: --limit 
> @/home/hadoop/app1//ansible/playbooks/MaxDemo.retry



   - The variable name is not defined in the common role vars, the 
   expectation is to make the app side takes the full responsibility


Please advice what is the problem here.

Thanks,

-- 
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/c5b1207e-dd03-4d75-817a-ab582212aefb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to