--- - hosts: all tasks: - name: Csoportok felvétele group: name: "{{ item }}" loop: - info - human - gazd become: yes