1
2
3
4
5
6
7
8
9
10
11
12
13
14 ---
- 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"