Skip to content

Commit

Permalink
fix: Adjust some comments
Browse files Browse the repository at this point in the history
Signed-off-by: Klaus Smolin <[email protected]>
  • Loading branch information
smolin-de committed Apr 29, 2024
1 parent 59ab8f6 commit 580d025
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions roles/tune_kvm_domain/tasks/tune_kvm_node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
register: kvm_libvirt_domains
ignore_errors: true

# Tune VM only, if exists on host
# Tune VM only, if exists on host.
- name: Tune KVM (libvirt domain modifications) - {{ kvm_domain_name }}
when: kvm_domain_name in kvm_libvirt_domains.list_vms
block:
Expand All @@ -16,7 +16,7 @@
name: '{{ kvm_domain_name }}'
state: shutdown

# Sometimes ansible report an successful shutdown, but it is not. For such cases we destroy the VM
# Sometimes ansible report an successful shutdown, but it is not. For such cases we destroy the VM!
- name: Destroy the KVM via libvirt - {{ kvm_domain_name }}
community.libvirt.virt:
command: destroy
Expand Down

0 comments on commit 580d025

Please sign in to comment.