Files
kubevirt.core/examples/play-info.yml
Felix Matouschek 77ece9d466 ci: Add yamllint to CI linter job
This adds yamllint to the CI linter job and sets the maximum line
length to 140 like in kubevirt/kubevirt.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2024-02-29 11:41:49 +01:00

13 lines
320 B
YAML

---
- name: Playbook describing a virtual machine
hosts: localhost
tasks:
- name: Describe VM
kubevirt.core.kubevirt_vm_info:
name: testvm
namespace: default
register: result
- name: Print return information from the previous task
ansible.builtin.debug:
var: result