mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Update service
This commit is contained in:
parent
f7c3b73336
commit
02e41f3e56
1 changed files with 0 additions and 7 deletions
|
@ -882,13 +882,6 @@ class AIX(Service):
|
|||
self.module.fail_json(msg='unable to find refresh binary')
|
||||
|
||||
|
||||
def get_service_status(self):
|
||||
rc, stdout, stderr = self.execute_command("%s -s %s" % (self.lssrc_cmd, self.name))
|
||||
if rc == 1:
|
||||
self.running = False
|
||||
elif rc == 0:
|
||||
self.running = True
|
||||
|
||||
def get_service_status(self):
|
||||
status = self.get_aix_src_status()
|
||||
# Only 'active' is considered properly running. Everything else is off
|
||||
|
|
Loading…
Reference in a new issue