summaryrefslogtreecommitdiffstats
path: root/roles/os_firewall
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-04-27 09:31:41 -0400
committerScott Dodson <sdodson@redhat.com>2017-05-01 11:05:33 -0400
commit717c36fde2639f6f3cc7bf534052e1df0479c2fe (patch)
treefc979035ec641a094e27cd201813a0c85949f79d /roles/os_firewall
parentb6190a17b578de72147e481b0eea00aca59adc2f (diff)
downloadopenshift-717c36fde2639f6f3cc7bf534052e1df0479c2fe.tar.gz
openshift-717c36fde2639f6f3cc7bf534052e1df0479c2fe.tar.bz2
openshift-717c36fde2639f6f3cc7bf534052e1df0479c2fe.tar.xz
openshift-717c36fde2639f6f3cc7bf534052e1df0479c2fe.zip
Don't double quote when conditions
Diffstat (limited to 'roles/os_firewall')
-rw-r--r--roles/os_firewall/tasks/firewall/firewalld.yml2
-rw-r--r--roles/os_firewall/tasks/firewall/iptables.yml2
2 files changed, 2 insertions, 2 deletions
diff --git a/roles/os_firewall/tasks/firewall/firewalld.yml b/roles/os_firewall/tasks/firewall/firewalld.yml
index 4b2979887..509655b0c 100644
--- a/roles/os_firewall/tasks/firewall/firewalld.yml
+++ b/roles/os_firewall/tasks/firewall/firewalld.yml
@@ -14,7 +14,7 @@
- iptables
- ip6tables
register: task_result
- failed_when: "task_result|failed and 'could not' not in task_result.msg|lower"
+ failed_when: task_result|failed and 'could not' not in task_result.msg|lower
- name: Wait 10 seconds after disabling iptables
pause:
diff --git a/roles/os_firewall/tasks/firewall/iptables.yml b/roles/os_firewall/tasks/firewall/iptables.yml
index 38ea2477c..55f2fc471 100644
--- a/roles/os_firewall/tasks/firewall/iptables.yml
+++ b/roles/os_firewall/tasks/firewall/iptables.yml
@@ -7,7 +7,7 @@
enabled: no
masked: yes
register: task_result
- failed_when: "task_result|failed and 'could not' not in task_result.msg|lower"
+ failed_when: task_result|failed and 'could not' not in task_result.msg|lower
- name: Wait 10 seconds after disabling firewalld
pause: