Backport fix for fw_offline/FW_VERSION globals in firewalld (#39394)

Fixes #38161

Signed-off-by: Adam Miller <admiller@redhat.com>
pull/39409/head
Adam Miller 7 years ago committed by GitHub
parent a02592baec
commit c1d91bfcaa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -155,6 +155,8 @@ from ansible.module_utils.basic import AnsibleModule
# globals
module = None
fw_offline = False
FW_VERSION = None
# Imports
try:
@ -165,7 +167,6 @@ try:
from firewall.client import FirewallClient
from firewall.client import FirewallClientZoneSettings
fw = None
fw_offline = False
import_failure = False
try:

Loading…
Cancel
Save