--- - name: "[OpenRC] Enable and start service: oeffisearch" service: name: "oeffisearch{{item}}" enabled: yes state: started loop: - 1 - 2 - 3 - 4 when: - ansible_service_mgr == "openrc"