From 1257b0a184c94ed405f6e5e36557c1327ad55ff6 Mon Sep 17 00:00:00 2001 From: Abhijeet Kasurde Date: Wed, 26 Aug 2020 20:41:41 +0530 Subject: [PATCH] service: Add a note about ignored parameters (#71455) Some parameters for systemd are ignored, add a note about such parameters in documentation. Fixes: #23144 Signed-off-by: Abhijeet Kasurde --- lib/ansible/modules/service.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/ansible/modules/service.py b/lib/ansible/modules/service.py index f62ff41b439..8ed03618704 100644 --- a/lib/ansible/modules/service.py +++ b/lib/ansible/modules/service.py @@ -49,6 +49,7 @@ options: substring to look for as would be found in the output of the I(ps) command as a stand-in for a status result. - If the string is found, the service will be assumed to be started. + - While using remote hosts with systemd this setting will be ignored. type: str version_added: "0.7" enabled: @@ -60,11 +61,13 @@ options: description: - For OpenRC init scripts (e.g. Gentoo) only. - The runlevel that this service belongs to. + - While using remote hosts with systemd this setting will be ignored. type: str default: default arguments: description: - Additional arguments provided on the command line. + - While using remote hosts with systemd this setting will be ignored. type: str aliases: [ args ] use: