From 9ca863501c6f3cf679b1b7c773747766e35ae907 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Thu, 20 Apr 2023 14:44:08 -0400 Subject: [PATCH] =?UTF-8?q?note=20in=20systemd=20that=20systemctl=20can=20?= =?UTF-8?q?change=20behaviour=20due=20to=20diff=20order=E2=80=A6=20(#80570?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/ansible/modules/systemd_service.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/ansible/modules/systemd_service.py b/lib/ansible/modules/systemd_service.py index bad29bba67a..d142f865b58 100644 --- a/lib/ansible/modules/systemd_service.py +++ b/lib/ansible/modules/systemd_service.py @@ -90,6 +90,8 @@ notes: - Before 2.4 you always required C(name). - Globs are not supported in name, i.e C(postgres*.service). - The service names might vary by specific OS/distribution + - The order of execution when having multiple properties is to first enable/disable, then mask/unmask and then deal with service state. + It has been reported that systemctl can behave differently depending on the order of operations if you do the same manually. requirements: - A system managed by systemd. '''