From f311b1f4616d7e77aeed6129182ceff558b689f1 Mon Sep 17 00:00:00 2001 From: Gabriel Guzman Date: Fri, 29 Mar 2024 15:25:00 -0400 Subject: [PATCH] Update example to match docs In the documentation for the "enabled" parameter, two choices are listed "true" or "false". The example below uses "yes." I understand that both work, but IMO it's a bit more clear if the example matches the definition. --- lib/ansible/modules/service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/service.py b/lib/ansible/modules/service.py index 65eba3b768c..1094a185411 100644 --- a/lib/ansible/modules/service.py +++ b/lib/ansible/modules/service.py @@ -140,7 +140,7 @@ EXAMPLES = r''' - name: Enable service httpd, and not touch the state ansible.builtin.service: name: httpd - enabled: yes + enabled: true - name: Start service foo, based on running process /usr/bin/foo ansible.builtin.service: