mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix virt role detection for Hetzner cloud servers (#42023)
See also https://wiki.hetzner.de/index.php/CloudServer/en
This commit is contained in:
parent
4b1b0bcbb6
commit
859b6a6526
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ class LinuxVirtual(Virtual):
|
|||
virtual_facts['virtualization_role'] = 'guest'
|
||||
return virtual_facts
|
||||
|
||||
if bios_vendor == 'Amazon EC2':
|
||||
if bios_vendor in ['Amazon EC2', 'Hetzner']:
|
||||
virtual_facts['virtualization_type'] = 'kvm'
|
||||
virtual_facts['virtualization_role'] = 'guest'
|
||||
return virtual_facts
|
||||
|
|
Loading…
Reference in a new issue