mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-09 18:04:02 -07:00
ec2_instance.py: Add CpuOptions to EC2 (#43799)
* ec2_instance.py: Add CpuOptions to EC2 * ec2_instance_facts.py: Add CpuOptions to EC2 facts * ec2_instance.py: LooseVersion and pylint indentation * Implement nested cpu_options dict * Fix botocore required version * ec2_instance: Split integration tests to add executions with old botocore versions * Ensure runme.sh is executable
This commit is contained in:
parent
401c45384e
commit
3921f34253
16 changed files with 197 additions and 7 deletions
|
@ -113,6 +113,21 @@ instances:
|
|||
returned: always
|
||||
type: string
|
||||
sample: vol-12345678
|
||||
cpu_options:
|
||||
description: The CPU options set for the instance.
|
||||
returned: always if botocore version >= 1.10.16
|
||||
type: complex
|
||||
contains:
|
||||
core_count:
|
||||
description: The number of CPU cores for the instance.
|
||||
returned: always
|
||||
type: int
|
||||
sample: 1
|
||||
threads_per_core:
|
||||
description: The number of threads per CPU core. On supported instance, a value of 1 means Intel Hyper-Threading Technology is disabled.
|
||||
returned: always
|
||||
type: int
|
||||
sample: 1
|
||||
client_token:
|
||||
description: The idempotency token you provided when you launched the instance, if applicable.
|
||||
returned: always
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue