mirror of
https://github.com/ansible-collections/hetzner.hcloud
synced 2024-11-10 06:34:13 +00:00
docs: show warning if image_info is used without architecture (#215)
This commit is contained in:
parent
90451c22e3
commit
94a7a59a84
1 changed files with 1 additions and 0 deletions
|
@ -154,6 +154,7 @@ class AnsibleHcloudImageInfo(Hcloud):
|
|||
self.module.params.get("architecture")
|
||||
)]
|
||||
elif self.module.params.get("name") is not None:
|
||||
self.module.warn("This module only returns x86 images by default. Please set architecture:x86|arm to hide this message.")
|
||||
self.hcloud_image_info = [self.client.images.get_by_name(
|
||||
self.module.params.get("name")
|
||||
)]
|
||||
|
|
Loading…
Reference in a new issue