--- # Copyright Red Hat, Inc. # 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 "cifmw_ovirt" cifmw_ovirt_artifacts_basedir: "{{ cifmw_basedir }}/artifacts" cifmw_ovirt_ssh_key_type: "{{ cifmw_ssh_keytype | default('ecdsa') }}" cifmw_ovirt_ssh_key_size: "{{ cifmw_ssh_keysize | default(521) }}" cifmw_ovirt_ssh_public_key: "" cifmw_ovirt_vm_timeout: 300 cifmw_ovirt_sdk_package: "https://github.com/oVirt/python-ovirt-engine-sdk4/releases/download/4.6.2/python3-ovirt-engine-sdk4-4.6.2-1.el9.x86_64.rpm" cifmw_ovirt_cloud_init: user_name: "{{ cifmw_ovirt_vm_user | default('root') }}" root_password: "{{ cifmw_ovirt_vm_pass | default('12345678') }}" authorized_ssh_keys: "{{ cifmw_ovirt_ssh_public_key | default(_ssh_public_key.public_key) }}" custom_script: | runcmd: - sed -i 's/^PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_config - sed -i -e 's/#*\s*PermitRootLogin/PermitRootLogin/g' /etc/ssh/sshd_config cifmw_ovirt_layout: - name: test-vm amount: 1 # GiB memory: 4 cpu: 8 template: "{{ cifmw_ovirt_template_rhel_guest_image }}" cloud_init: "{{ cifmw_ovirt_cloud_init }}" nets: - rhevm-ifacemacspoof