igw: fix firewall iscsi_group_name check

The firewall setup for igw is not getting setup because iscsi_group_name
does not it exist. It should be iscsi_gw_group_name.

Signed-off-by: Mike Christie <mchristi@redhat.com>
(cherry picked from commit a4ff52842c)
pull/3313/head
Mike Christie 2018-10-30 13:54:52 -05:00 committed by mergify[bot]
parent c843ea1d92
commit db576f6f0e
1 changed files with 2 additions and 2 deletions

View File

@ -178,8 +178,8 @@
state: enabled
notify: restart firewalld
when:
- iscsi_group_name is defined
- iscsi_group_name in group_names
- iscsi_gw_group_name is defined
- iscsi_gw_group_name in group_names
- (firewalld_pkg_query.get('rc', 1) == 0 or is_atomic)
tags:
- firewall