From 8998807e410f57b9b4e5937ac46769ecff86e9a2 Mon Sep 17 00:00:00 2001 From: akrzos Date: Fri, 15 Dec 2017 13:09:34 -0500 Subject: [PATCH] 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 --- ansible/install/roles/firewall/tasks/main.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/ansible/install/roles/firewall/tasks/main.yml b/ansible/install/roles/firewall/tasks/main.yml index 9f08d82ba..a733a0446 100644 --- a/ansible/install/roles/firewall/tasks/main.yml +++ b/ansible/install/roles/firewall/tasks/main.yml @@ -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 -