Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to force poweroff for VM #1186

Merged
merged 1 commit into from
Jun 26, 2023
Merged

Add option to force poweroff for VM #1186

merged 1 commit into from
Jun 26, 2023

Conversation

Klaas-
Copy link
Contributor

@Klaas- Klaas- commented Jun 7, 2023

SUMMARY

This adds a force option to azure_rm_virtualmachine, it is used to set a forced poweroff (skip_shutdown on api level) for VMs

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

azure_rm_virtualmachine

ADDITIONAL INFORMATION

example:

- azure_rm_virtualmachine:
    subscription_id: "{{ subscriptionId }}"
    resource_group: "{{ resourceGroup }}"
    name: "{{ inventory_hostname_short }}"
    started: false
    force: true

@Fred-sun Fred-sun added ready_for_review The PR has been modified and can be reviewed and merged medium_priority Medium priority labels Jun 7, 2023
@xuzhang3
Copy link
Collaborator

LGTM 🚢

@xuzhang3 xuzhang3 merged commit 0ecd5e1 into ansible-collections:dev Jun 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
medium_priority Medium priority ready_for_review The PR has been modified and can be reviewed and merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants