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

@@ -2,7 +2,7 @@
- name: Cleanup packet vms
hosts: localhost
gather_facts: no
gather_facts: false
become: true
roles:
- { role: cleanup-packet-ci }

View File

@@ -2,7 +2,7 @@
- name: Provision Packet VMs
hosts: localhost
gather_facts: no
gather_facts: false
become: true
vars:
ci_job_name: "{{ lookup('env', 'CI_JOB_NAME') }}"

View File

@@ -2,7 +2,7 @@
- name: Terminate Packet VMs
hosts: localhost
gather_facts: no
gather_facts: false
become: true
vars:
ci_job_name: "{{ lookup('env', 'CI_JOB_NAME') }}"

View File

@@ -3,9 +3,9 @@
- name: Check if temp directory for {{ test_name }} exists
stat:
path: "/tmp/{{ test_name }}"
get_attributes: no
get_checksum: no
get_mime: no
get_attributes: false
get_checksum: false
get_mime: false
register: temp_dir_details
- name: "Cleanup temp directory for {{ test_name }}"

View File

@@ -1,8 +1,8 @@
---
- name: Wait until SSH is available
hosts: all
become: False
gather_facts: False
become: false
gather_facts: false
tasks:
- name: Wait until SSH is available