From 5dbcf47e0224b843e40a7dae58726c8ea58cb652 Mon Sep 17 00:00:00 2001 From: pippo571 Date: Thu, 10 Aug 2023 21:04:23 +0200 Subject: [PATCH] Add documentation for systemd reload (#81473) * Add documentation for systemd reload --- lib/ansible/modules/systemd_service.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/ansible/modules/systemd_service.py b/lib/ansible/modules/systemd_service.py index 47ff3cf6ddb..1abfaaed53f 100644 --- a/lib/ansible/modules/systemd_service.py +++ b/lib/ansible/modules/systemd_service.py @@ -26,7 +26,8 @@ options: state: description: - V(started)/V(stopped) are idempotent actions that will not run commands unless necessary. - V(restarted) will always bounce the unit. V(reloaded) will always reload. + V(restarted) will always bounce the unit. + V(reloaded) will always reload and if the service is not running at the moment of the reload, it is started. type: str choices: [ reloaded, restarted, started, stopped ] enabled: