igw: use api_port variable for firewall port setting

Don't hard code api port because it might be overridden by the user.

Signed-off-by: Mike Christie <mchristi@redhat.com>
pull/3312/head
Mike Christie 2018-11-08 15:23:24 -06:00 committed by Sébastien Han
parent a4ff52842c
commit e2f1f81de4
1 changed files with 2 additions and 2 deletions

View File

@ -152,9 +152,9 @@
tags:
- firewall
- name: open iscsi ports
- name: open iscsi api ports
firewalld:
port: "5000/tcp"
port: "{{ api_port | default(5000) }}/tcp"
zone: "{{ ceph_iscsi_firewall_zone }}"
source: "{{ public_network }}"
permanent: true