1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-04-15 08:21:31 +00:00
community.general/tests/integration/targets/launchd/tasks/tests/test_unknown.yml

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'