Do not use ‘yes/no’ for boolean values (#11472)

Consistent boolean values in ansible playbooks
This commit is contained in:
Vlad Korolev
2024-08-28 01:30:56 -04:00
committed by GitHub
parent 5c5421e453
commit 9a7b021eb8
162 changed files with 507 additions and 508 deletions

View File

@@ -22,7 +22,7 @@
dest: "{{ cilium_cert_dir }}/{{ item.d }}"
mode: "0644"
state: hard
force: yes
force: true
loop:
- {s: "{{ kube_etcd_cacert_file }}", d: "ca_cert.crt"}
- {s: "{{ kube_etcd_cert_file }}", d: "cert.crt"}
@@ -94,4 +94,4 @@
src: "{{ local_release_dir }}/cilium"
dest: "{{ bin_dir }}/cilium"
mode: "0755"
remote_src: yes
remote_src: true

View File

@@ -2,9 +2,9 @@
- name: "Reset | check if network device {{ iface }} is present"
stat:
path: "/sys/class/net/{{ iface }}"
get_attributes: no
get_checksum: no
get_mime: no
get_attributes: false
get_checksum: false
get_mime: false
register: device_remains
- name: "Reset | remove network device {{ iface }}"