Skip to content
Snippets Groups Projects
Commit b7e95c83 authored by Mark Goddard's avatar Mark Goddard Committed by Bartosz Bezak
Browse files

Fix firewalld configuration for monitoring hosts

There was a stray double quote in the firewalld config for monitoring
hosts, resulting in the following error when firewalld is enabled:

  ValueError: No closing quotation

Closes-Bug: 2019867
Change-Id: I201faf14da5d143670250052ab15fc285f24868c
parent 0258141d
No related branches found
No related tags found
No related merge requests found
...@@ -19,7 +19,7 @@ firewalld_zones: > ...@@ -19,7 +19,7 @@ firewalld_zones: >
firewalld_default_zone: >- firewalld_default_zone: >-
{{ controller_firewalld_default_zone {{ controller_firewalld_default_zone
if inventory_hostname in groups['controllers'] else if inventory_hostname in groups['controllers'] else
monitoring_firewalld_default_zone }}" monitoring_firewalld_default_zone }}
# A list of firewall rules to apply. Each item is a dict containing arguments # A list of firewall rules to apply. Each item is a dict containing arguments
# to pass to the firewalld module. Arguments are omitted if not provided, with # to pass to the firewalld module. Arguments are omitted if not provided, with
...@@ -30,4 +30,4 @@ firewalld_default_zone: >- ...@@ -30,4 +30,4 @@ firewalld_default_zone: >-
firewalld_rules: > firewalld_rules: >
{{ controller_firewalld_rules {{ controller_firewalld_rules
if inventory_hostname in groups['controllers'] else if inventory_hostname in groups['controllers'] else
monitoring_firewalld_rules }}" monitoring_firewalld_rules }}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment