mirror of https://github.com/ceph/ceph-ansible.git
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
parent
a4ff52842c
commit
e2f1f81de4
|
@ -152,9 +152,9 @@
|
||||||
tags:
|
tags:
|
||||||
- firewall
|
- firewall
|
||||||
|
|
||||||
- name: open iscsi ports
|
- name: open iscsi api ports
|
||||||
firewalld:
|
firewalld:
|
||||||
port: "5000/tcp"
|
port: "{{ api_port | default(5000) }}/tcp"
|
||||||
zone: "{{ ceph_iscsi_firewall_zone }}"
|
zone: "{{ ceph_iscsi_firewall_zone }}"
|
||||||
source: "{{ public_network }}"
|
source: "{{ public_network }}"
|
||||||
permanent: true
|
permanent: true
|
||||||
|
|
Loading…
Reference in New Issue