mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-28 09:39:12 +03:00
ansible-lint: Don’t compare to literal True/False (#4499)
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
d4b9f15c0a
commit
37eac010c8
@@ -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
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
/etc/resolv.conf
|
||||
{%- endif -%}
|
||||
when:
|
||||
- enable_nodelocaldns == True
|
||||
- enable_nodelocaldns
|
||||
- inventory_hostname == groups['kube-master'] | first
|
||||
tags:
|
||||
- nodelocaldns
|
||||
|
||||
Reference in New Issue
Block a user