mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-01 01:28:11 -03:30
Do not use ‘yes/no’ for boolean values (#11472)
Consistent boolean values in ansible playbooks
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
- name: Collect debug info
|
||||
hosts: all
|
||||
become: true
|
||||
gather_facts: no
|
||||
gather_facts: false
|
||||
|
||||
vars:
|
||||
docker_bin_dir: /usr/bin
|
||||
@@ -118,7 +118,7 @@
|
||||
failed_when: false
|
||||
with_items: "{{ commands }}"
|
||||
when: item.when | default(True)
|
||||
no_log: True
|
||||
no_log: true
|
||||
|
||||
- name: Fetch results
|
||||
fetch:
|
||||
|
||||
Reference in New Issue
Block a user