--- # tasks file for service-role-loader - name: Load each service role when: - active_services is defined ansible.builtin.include_role: name: '{{ item }}' loop: "{{ active_services }}"