ansible-collections / ansible-collections/google.cloud

Add display device as an option to gcp_compute_instance.py

Open
#643 1 comment 0 reactions 0 assignees View on GitHub
stale
Dominant language
Python
Stars
105
Forks
144
Avg merge
5d 10h
Merged PRs (30d)
4

Description

##### SUMMARY

##### ISSUE TYPE
- Can we add display device option in the gcp compute instance module?

##### COMPONENT NAME

gcp_compute_instance.py

##### ADDITIONAL INFORMATION

This feature would be useful in the GCP console to see if the system is coming online or not. It allows for screen capture.

```yaml

name: Create an Instance
google.cloud.gcp_compute_instance:
state: present
name: "{{ machine_name | lower }}"
machine_type: "{{ machine_type }}"
zone: "{{ zone }}"
disks:
- auto_delete: true
boot: true
source: "{{ disk }}"
deletion_protection: "{{ deleteprotection }}"

```

Contributor guide

Open the contributing guide

Research direction

Start by reading gcp_compute_instance.py and the existing instance options to see where a display-device setting belongs. Check the GCP compute instance API requirements for screen capture, then add the option so an instance can be created with a display device and verify that the resulting instance exposes the requested console screen-capture capability.

Written by the indexing model from the issue text.

Assessment

Tech stack
gcp, python
Domain
cloud, infrastructure
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.