mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-05-19 14:57:43 -02: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: Cleanup packet vms
|
||||
hosts: localhost
|
||||
gather_facts: no
|
||||
gather_facts: false
|
||||
become: true
|
||||
roles:
|
||||
- { role: cleanup-packet-ci }
|
||||
|
||||
@@ -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') }}"
|
||||
|
||||
@@ -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') }}"
|
||||
|
||||
@@ -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 }}"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user