From d6a4fab8ea4cf82c3404cc36c2a511db4b8eef0b Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Mon, 3 Mar 2025 21:32:19 +0100 Subject: [PATCH] [PR #9819/5f48f2ca backport][stable-10] Example typo in homebrew_services.py (#9827) Example typo in homebrew_services.py (#9819) Maybe this was mixed up with the _brew_service_state() function? I get this error as-written: ``` fatal: [eahmm3]: FAILED! => {"changed": false, "msg": "Unsupported parameters for (community.general.homebrew_services) module: service _state. Supported parameters include: name, path, state (formula)."} ``` (cherry picked from commit 5f48f2ca0d0ecc2d7d02c8cad1f2713f0554df9e) Co-authored-by: Ernie Hershey --- plugins/modules/homebrew_services.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/modules/homebrew_services.py b/plugins/modules/homebrew_services.py index 5d84563d33..750e771fc3 100644 --- a/plugins/modules/homebrew_services.py +++ b/plugins/modules/homebrew_services.py @@ -72,7 +72,7 @@ EXAMPLES = r""" - name: Remove the foo service (equivalent to `brew services stop foo`) community.general.homebrew_services: name: foo - service_state: absent + state: absent """ RETURN = r"""