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:
parent
97c84e93a4
commit
02516d9a7b
47 changed files with 348 additions and 364 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue