TEST - Quick fix for firewall
If browbeat_results_in_httpd is set to false, firewalld_browbeat_results_port_exists will never be defined, this causes the install playbook to fail when run against a local tipleo quickstart cloud with Browbeat installed locally. Change-Id: Ic684d1c49184c7fdbfae063e3aa05cc8d5820373
This commit is contained in:
parent
1f302a0e01
commit
8998807e41
@ -35,7 +35,6 @@
|
||||
|
||||
- name: (browbeat_results) Determine if TCP/{{browbeat_results_port}} is already active
|
||||
shell: firewall-cmd --list-ports | egrep -q "^{{browbeat_results_port}}/tcp"
|
||||
when: browbeat_results_in_httpd
|
||||
ignore_errors: true
|
||||
register: firewalld_browbeat_results_port_exists
|
||||
no_log: true
|
||||
@ -115,4 +114,3 @@
|
||||
when: browbeat_results_in_httpd and firewalld_in_use.rc != 0 and firewalld_is_active.rc != 0 and iptables_browbeat_results_port_exists.stdout|int == 0 and iptables_file_present.stat.exists
|
||||
notify:
|
||||
- restart iptables
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user