status -> state.

This commit is contained in:
Andrea Dell'Amico 2022-05-09 19:23:23 +02:00
parent 65190ab1f7
commit c422c22084
Signed by: andrea.dellamico
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 2 additions and 2 deletions

View File

@ -97,14 +97,14 @@
- name: Ensure that opensearch is running and enabled
service:
name: opensearch
status: started
state: started
enabled: true
when: opensearch_enabled
- name: Ensure that opensearch is stopped and disabled
service:
name: opensearch
status: stopped
state: stopped
enabled: false
when: not opensearch_enabled