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 -