ansible-lint: Don’t compare to literal True/False (#4499)

This commit is contained in:
Maxime Guyot
2019-04-17 17:42:03 +02:00
committed by Kubernetes Prow Robot
parent d4b9f15c0a
commit 37eac010c8
11 changed files with 22 additions and 17 deletions

View File

@@ -31,7 +31,7 @@
- name: Kubernetes Apps | nodelocalDNS
import_tasks: "tasks/nodelocaldns.yml"
when:
- enable_nodelocaldns == True
- enable_nodelocaldns
- inventory_hostname == groups['kube-master'] | first
tags:
- nodelocaldns

View File

@@ -32,7 +32,7 @@
/etc/resolv.conf
{%- endif -%}
when:
- enable_nodelocaldns == True
- enable_nodelocaldns
- inventory_hostname == groups['kube-master'] | first
tags:
- nodelocaldns