mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
11 lines
392 B
YAML
11 lines
392 B
YAML
---
|
|
|
|
# -----------------------------------------------------------
|
|
|
|
- name: "[{{ item }}] Expect that an error occurs when an unknown service is used."
|
|
launchd:
|
|
name: com.acme.unknownservice
|
|
state: started
|
|
register: result
|
|
failed_when:
|
|
- not '"Unable to infer the path of com.acme.unknownservice service plist file and it was not found among active services" in result.msg'
|