Update docs for main

Signed-off-by: kubevirt-bot <kubevirtbot@redhat.com>
This commit is contained in:
kubevirt-bot
2024-02-26 16:27:59 +00:00
parent 86db612b6b
commit f9ae00832d
20 changed files with 79 additions and 83 deletions

View File

@@ -6,9 +6,9 @@
This repository hosts the `kubevirt.core` Ansible Collection, which provides virtual machine operations and inventory source for use with Ansible.
<!--start requires_ansible-->
## Ansible version compatibility
## Ansible and Python version compatibility
This collection has been tested against following Ansible versions: **>=2.14.0**.
This collection has been tested against following Ansible versions **>=2.14.0** and the following Python versions **>=3.11.0,<3.12.0**.
<!--end requires_ansible-->
## Included content

View File

@@ -7,7 +7,7 @@
:trim:
.. meta::
:antsibull-docs: 2.5.0
:antsibull-docs: 2.7.0
.. Anchors
@@ -848,34 +848,32 @@ Examples
# Filename must end with kubevirt.[yml|yaml]
# Authenticate with token, and return all VirtualMachineInstances for all accessible namespaces
plugin: kubevirt.core.kubevirt
connections:
- host: https://192.168.64.4:8443
api_key: xxxxxxxxxxxxxxxx
validate_certs: false
- name: Authenticate with token and return all VirtualMachineInstances for all accessible namespaces
plugin: kubevirt.core.kubevirt
connections:
- host: https://192.168.64.4:8443
api_key: xxxxxxxxxxxxxxxx
validate_certs: false
# Use default config (~/.kube/config) file and active context, and return VirtualMachineInstances
# from namespace testing with interfaces connected to network bridge-network
plugin: kubevirt.core.kubevirt
connections:
- namespaces:
- testing
network_name: bridge-network
- name: Use default ~/.kube/config and return VirtualMachineInstances from namespace testing with interfaces connected to network bridge-network
plugin: kubevirt.core.kubevirt
connections:
- namespaces:
- testing
network_name: bridge-network
# Use default config (~/.kube/config) file and active context, and return VirtualMachineInstances
# from namespace testing with label app=test
plugin: kubevirt.core.kubevirt
connections:
- namespaces:
- testing
label_selector: app=test
- name: Use default ~/.kube/config and return VirtualMachineInstances from namespace testing with label app=test
plugin: kubevirt.core.kubevirt
connections:
- namespaces:
- testing
label_selector: app=test
# Use a custom config file, and a specific context.
plugin: kubevirt.core.kubevirt
connections:
- kubeconfig: /path/to/config
context: 'awx/192-168-64-4:8443/developer'
- name: Use a custom config file and a specific context
plugin: kubevirt.core.kubevirt
connections:
- kubeconfig: /path/to/config
context: 'awx/192-168-64-4:8443/developer'

View File

@@ -7,7 +7,7 @@
:trim:
.. meta::
:antsibull-docs: 2.5.0
:antsibull-docs: 2.7.0
.. Anchors
@@ -825,7 +825,7 @@ Examples
ssh_authorized_keys:
- ssh-ed25519 AAAA...
name: cloudinit
wait: yes
wait: true
- name: Delete a VirtualMachine
kubevirt.core.kubevirt_vm:

View File

@@ -7,7 +7,7 @@
:trim:
.. meta::
:antsibull-docs: 2.5.0
:antsibull-docs: 2.7.0
.. Anchors
@@ -550,7 +550,7 @@ Examples
kubevirt.core.kubevirt_vm_info:
name: testvm
namespace: default
wait: yes
wait: true