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>
pull/3312/head
Mike Christie 2018-10-30 13:54:52 -05:00 committed by Sébastien Han
parent a10853c5f8
commit a4ff52842c
1 changed files with 2 additions and 2 deletions

View File

@ -162,8 +162,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