mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-02 20:24:23 -07:00
Fixes #2991: Service module pattern argument ignored.
This commit is contained in:
parent
8f3b2b281f
commit
b274fb9774
1 changed files with 2 additions and 1 deletions
|
@ -972,7 +972,8 @@ def main():
|
||||||
# Collect service status
|
# Collect service status
|
||||||
if service.pattern:
|
if service.pattern:
|
||||||
service.check_ps()
|
service.check_ps()
|
||||||
service.get_service_status()
|
else:
|
||||||
|
service.get_service_status()
|
||||||
|
|
||||||
# Calculate if request will change service state
|
# Calculate if request will change service state
|
||||||
service.check_service_changed()
|
service.check_service_changed()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue