Playbook #2

/root/kubeinit/ci/builds/6mbKNrxD/0/kubeinit/kubeinit/kubeinit-aux/kubeinit/playbook.yml

Report Status CLI Date Duration Controller User Versions Hosts Plays Tasks Results Files Records
26 Oct 2023 20:21:26 +0000 00:02:46.07 nyctea root Ansible 2.15.2 ara 1.6.1 (client), 1.6.1 (server) Python 3.11.4 2 9 354 353 23 1

File: /root/.ansible/collections/ansible_collections/kubeinit/kubeinit/roles/kubeinit_libvirt/defaults/main.yml

---
# Copyright kubeinit contributors
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.


# All variables intended for modification should be placed in this file.

# All variables within this role should have a prefix of "kubeinit_libvirt_"
kubeinit_libvirt_debug: "{{ (ansible_verbosity | int) >= 2 | bool }}"
kubeinit_libvirt_hide_sensitive_logs: true

kubeinit_libvirt_reboot_hypervisors_after_package_update: false
kubeinit_libvirt_reboot_guests_after_package_update: false

kubeinit_libvirt_target_image_dir: /var/lib/libvirt/images

# Setting the variable kubeinit_libvirt_cloud_user_create
# to true will create a toor user with passwordless access
# It will also set the root password to the value of the
# variable kubeinit_libvirt_cloud_user_password
kubeinit_libvirt_cloud_user_create: false
kubeinit_libvirt_cloud_user: toor
kubeinit_libvirt_cloud_user_password: asdfasdf

kubeinit_libvirt_source_keystore_dir: "/home/{{ kubeinit_libvirt_cloud_user }}/.ssh"
kubeinit_libvirt_source_pubkey_file: "id_{{ kubeinit_ssh_keytype }}.pub"

kubeinit_libvirt_centos_release: "20230327.0"
kubeinit_libvirt_debian_release: "11"
kubeinit_libvirt_debian_codename: "bullseye"

kubeinit_libvirt_cloud_images:
  cdk:
    uri: "https://cloud-images.ubuntu.com/jammy/current/"
    image: "jammy-server-cloudimg-amd64.img"
  rke:
    uri: "https://cloud-images.ubuntu.com/jammy/current/"
    image: "jammy-server-cloudimg-amd64.img"
  kid:
    uri: "https://cloud.debian.org/images/cloud/bullseye/daily/latest/"
    image: "debian-{{ kubeinit_libvirt_debian_release }}-genericcloud-amd64-daily.qcow2"
  eks:
    uri: "https://cloud.centos.org/centos/9-stream/x86_64/images/"
    image: "CentOS-Stream-GenericCloud-9-{{ kubeinit_libvirt_centos_release }}.x86_64.qcow2"
  k8s:
    uri: "https://cloud.centos.org/centos/9-stream/x86_64/images/"
    image: "CentOS-Stream-GenericCloud-9-{{ kubeinit_libvirt_centos_release }}.x86_64.qcow2"
  okd:
    uri: "https://cloud.centos.org/centos/9-stream/x86_64/images/"
    image: "CentOS-Stream-GenericCloud-9-{{ kubeinit_libvirt_centos_release }}.x86_64.qcow2"
  ocp:
    uri: "https://cloud.centos.org/centos/9-stream/x86_64/images/"
    image: "CentOS-Stream-GenericCloud-9-{{ kubeinit_libvirt_centos_release }}.x86_64.qcow2"

kubeinit_libvirt_virtio_version: "virtio-win-0.1.229"
kubeinit_libvirt_virtio_image_format: 'iso'
kubeinit_libvirt_virtio_folder_name: "{{ kubeinit_libvirt_virtio_version }}-1"
kubeinit_libvirt_virtio_image_name: "{{ kubeinit_libvirt_virtio_version }}.{{ kubeinit_libvirt_virtio_image_format }}"

kubeinit_libvirt_extra_cloud_images:
  - description: 'Windows Server 2022 preview (EVAL)'
    uri: "https://software-static.download.prss.microsoft.com/sg/download/888969d5-f34g-4e03-ac9d-1f9786c66749/"
    image: "SERVER_EVAL_x64FRE_en-us.iso"
  - description: 'VirtIO drivers for Windows guests'
    uri: "https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/{{ kubeinit_libvirt_virtio_folder_name }}/"
    image: "{{ kubeinit_libvirt_virtio_image_name }}"

kubeinit_libvirt_destroy_all_guests: False

kubeinit_libvirt_hypervisor_tmp_dir: /tmp

kubeinit_libvirt_ovn_encapsulation: geneve
kubeinit_libvirt_ovn_switch: sw0
kubeinit_libvirt_ovn_northbound_port: 6641
kubeinit_libvirt_ovn_southbound_port: 6642

kubeinit_libvirt_hypervisor_dependencies:
  centos:
    - libguestfs-tools-c
    - python3-libselinux
    - libvirt
    - libvirt-daemon
    - libvirt-daemon-kvm
    - libvirt-client
    - qemu-kvm
    - virt-install
    - virt-top
    - virt-viewer
    - libguestfs-tools
    - lvm2
    - python3-libvirt
    - python3-lxml
    - python3-netaddr
    - curl
    - binutils
    - qt5-qtbase
    - gcc
    - make
    - patch
    - libgomp
    - glibc-headers
    - glibc-devel
    - kernel-headers
    - kernel-devel
    - bash-completion
    - nano
    - wget
    - python3-pip
    - iptables-services
    - net-tools
    - xz
    - perl-XML-XPath
    - jq
  debian:
    - sudo
    - numad
    - qemu
    - qemu-kvm
    - qemu-system
    - libvirt-clients
    - libvirt-daemon-system
    - libvirt-daemon
    - virt-manager
    - bridge-utils
    - libguestfs-tools
    - genisoimage
    - virtinst
    - libosinfo-bin
    - python3
    - python3-pip
    - python3-libvirt
    - python3-lxml
    - python3-netaddr
    - nano
    - wget
    - xz-utils
    - inetutils-ping
    - libxml-xpath-perl
    - jq