mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-03 09:13:12 +00:00
Merge pull request #1872 from runekaagaard/devel
Service mod.: Proper(?) handling of return code 69
This commit is contained in:
@@ -313,9 +313,7 @@ class LinuxService(Service):
|
||||
|
||||
# if the job status is still not known check it by response code
|
||||
if self.running == None:
|
||||
if rc == 3:
|
||||
self.running = False
|
||||
if rc == 2:
|
||||
if rc in [2, 3, 69]:
|
||||
self.running = False
|
||||
elif rc == 0:
|
||||
self.running = True
|
||||
|
||||
Reference in New Issue
Block a user