Hi I am working on this role:
https://github.com/DevOps4Networks/ansible-opendaylight-devtools Within which I would like to use this role: https://github.com/William-Yeh/ansible-oracle-java I have tried adding the role via an include in this file: https://github.com/DevOps4Networks/ansible-opendaylight-devtools/blob/master/tasks/main.yml To this file: https://github.com/DevOps4Networks/ansible-opendaylight-devtools/blob/master/tasks/install_jdk8.yml Which has: ---#Use role from: https://github.com/William-Yeh/ansible-oracle-java roles: - williamyeh.oracle-java vars: java_version: 8 But that ends up saying: ERROR: expecting dict; got: roles, error in /etc/ansible/roles/opendaylight/tasks/install_jdk8.yml So, I am left wondering whether this form of role reuse is even possible? Any input gratefully received. Many thanks Nathan -- 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/c70edd6a-2ae3-4404-8fbf-0d6b39f669f0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.