mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Merge pull request #4348 from maxamillion/fix_firewalld
fixed get_service_enabled call
This commit is contained in:
@@ -122,7 +122,7 @@ def set_port_disabled_permanent(zone, port, protocol):
|
||||
####################
|
||||
# service handling
|
||||
#
|
||||
def get_service_enabled(zone):
|
||||
def get_service_enabled(zone, service):
|
||||
if service in fw.getServices(zone):
|
||||
return True
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user