mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
fixed firewalld get_service_enabled
This commit is contained in:
parent
a94a141ad5
commit
323e8d4a8c
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue