1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Merge pull request #2992 from SirScott/service_pattern

Fixes #2991: Service module pattern argument ignored.
This commit is contained in:
Michael DeHaan 2013-05-24 19:58:42 -07:00
commit 698b2fe9c5

View file

@ -972,6 +972,7 @@ def main():
# Collect service status # Collect service status
if service.pattern: if service.pattern:
service.check_ps() service.check_ps()
else:
service.get_service_status() service.get_service_status()
# Calculate if request will change service state # Calculate if request will change service state