Remove dead code (#1303)
The review on https://github.com/ansible/ansible-modules-extras/pull/1303 show the problem was already fixed, so we just need to remove the code.
This commit is contained in:
parent
6785f3b424
commit
2dbfdaa88b
1 changed files with 0 additions and 8 deletions
|
@ -328,14 +328,6 @@ def main():
|
||||||
timeout = module.params['timeout']
|
timeout = module.params['timeout']
|
||||||
interface = module.params['interface']
|
interface = module.params['interface']
|
||||||
|
|
||||||
## Check for firewalld running
|
|
||||||
try:
|
|
||||||
if fw.connected == False:
|
|
||||||
module.fail_json(msg='firewalld service must be running')
|
|
||||||
except AttributeError:
|
|
||||||
module.fail_json(msg="firewalld connection can't be established,\
|
|
||||||
version likely too old. Requires firewalld >= 2.0.11")
|
|
||||||
|
|
||||||
modification_count = 0
|
modification_count = 0
|
||||||
if service != None:
|
if service != None:
|
||||||
modification_count += 1
|
modification_count += 1
|
||||||
|
|
Loading…
Reference in a new issue