1
0
Fork 0
mirror of https://github.com/ansible-collections/hetzner.hcloud.git synced 2026-02-04 08:01:49 +00:00

refactor: prefer true/false over yes/no (#226)

* style: format md and yml files using prettier

* refactor: prefer true/false over yes/no
This commit is contained in:
Jonas L 2023-06-21 10:49:54 +02:00 committed by GitHub
parent 97c84e93a4
commit 02516d9a7b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
47 changed files with 348 additions and 364 deletions

View file

@ -11,7 +11,7 @@
- name: test gather hcloud image infos in check mode
hcloud_image_info:
check_mode: yes
check_mode: true
register: hcloud_images
- name: verify test gather hcloud image infos in check mode
@ -19,7 +19,6 @@
that:
- hcloud_images.hcloud_image_info| list | count > 2
- name: test gather hcloud image infos with correct label selector
hcloud_image_info:
label_selector: "key=value"
@ -52,9 +51,9 @@
- name: test gather hcloud image infos with wrong id
hcloud_image_info:
id: "{{hcloud_test_image_id}}1"
type: snapshot
ignore_errors: yes
id: "{{hcloud_test_image_id}}1"
type: snapshot
ignore_errors: true
register: result
- name: verify test gather hcloud image with wrong id
assert:
@ -63,7 +62,7 @@
- name: test gather hcloud image infos with name
hcloud_image_info:
name: "{{ hcloud_test_image_name_os }}"
name: "{{ hcloud_test_image_name_os }}"
register: hcloud_images
- name: verify test gather hcloud image infos with name
assert: