Use include roles in a loop. For example, you'll have to split the comma-separated list of roles
tasks:
- include_role:
name: "{{ item }}"
loop: "{{ rnames.split(',') }}"
Use include roles in a loop. For example, you'll have to split the comma-separated list of roles
tasks:
- include_role:
name: "{{ item }}"
loop: "{{ rnames.split(',') }}"