Obvious for some, helpful for others, a more condensed version could look
like:
---
- name: SomePlaybook
hosts: yourgroup
roles:
- { role: yourrole, install_path: [ '/opt/install1', '/opt/install2'
] }
On Tuesday, 24 March 2015 00:03:22 UTC+1, Olivier Lauret wrote:
Thank you
Another method you could use is passing the variable value directly into
the role when you call it as such
---
- name: SomePlaybook
hosts: yourgroup
roles:
- {role: yourrole, install_path: '/opt/install1' }
- {role: yourrole, install_path: '/opt/install2' }
On Monday,
Thank you George and Jonathan for your feedback,
I like the idea of the roles in the playbook as the installation is a bit
more complex than explained in the email. Thank you for the tip, I will try
it write now :)
Regards,
Olivier
On Monday, 23 March 2015 15:18:49 UTC-4, Jonathan Davila