From e9792e5259f5d08270ad9f4517ff220c2cf36909 Mon Sep 17 00:00:00 2001 From: Rodrique Heron Date: Sun, 28 Feb 2021 09:51:23 -0500 Subject: [PATCH] add unzip package --- defaults/main.yml | 109 +++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 107 insertions(+), 2 deletions(-) diff --git a/defaults/main.yml b/defaults/main.yml index 123cbee..00fb823 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -26,8 +26,113 @@ libvirt_disk: false # set to false to skip creating a bridge interface configure_bridge: true -# Name for the bridge interface -qubinode_bridge_name: qubibr0 +## name for libvirt bridge network +libvirt_bridge_name: qubinet + +## name for the system bridge ethernet interface +qubinode_bridge_device: qubibr0 + +## Static Networking Config +## +## Default behaviour is to use the host primary network +## interface as the bridge bridge along with the current networking +## info discovered by facts. +## Setting these values are optional +#bridge_interface: "" +#gateway_ip: "" +#ip_address: "" +#netmask_prefix: "" +#host_netmask: "" +#mac_address: "" +#mtu: 1500 + +## Additional interface settings +ignore_auto_routes: no +ignore_auto_dns: no +ipv6_method: ignore + +###################### +## Libvirt Storage +## +## Set to no if you don't want to configure libvirt storage +create_libvirt_storage: yes +## Where to store libvirt VMs disk images +libvirt_images_dir: /var/lib/libvirt/images +## Libvirt pool name +libvirt_pool_name: default + +############################### +## No need to modify these vars +## +## Setup host networking vars +discovered_ip: "{{ ansible_default_ipv4.address|default(ansible_all_ipv4_addresses[0]) }}" +kvm_host_gw: "{{ gateway_ip|default(ansible_default_ipv4.gateway) }}" +kvm_host_interface: "{{ bridge_interface|default(ansible_default_ipv4.interface) }}" +kvm_host_ip: "{{ ip_address|default(discovered_ip) }}" +kvm_host_netmask: "{{ host_netmask|default(ansible_default_ipv4.netmask) }}" +kvm_host_macaddr: "{{ mac_address|default(ansible_facts[kvm_host_interface]['macaddress']) }}" +kvm_host_ip_mask: "{{ kvm_host_ip }}/{{ kvm_host_netmask }}" +kvm_host_mask_prefix: "{{ netmask_prefix|default(kvm_host_ip_mask | ipaddr('prefix')) }}" +kvm_host_mtu: "{{ mtu }}" +kvm_host_auto_routes: "{{ ignore_auto_routes }}" +kvm_host_auto_dns: "{{ ignore_auto_dns }}" +kvm_host_ipv6_method: "{{ ipv6_method }}" + +# KVM host packages +libvirt_pkgs: + - bash-completion + - bind-utils + - cockpit + - cockpit-dashboard + - cockpit-machines + - firewalld + - git + - ipcalc + - kexec-tools + - libguestfs-tools + - libguestfs-tools-c + - libvirt-client + - libvirt-daemon + - libvirt-daemon-config-network + - libvirt-daemon-kvm + - net-tools + - nfs-utils + - NetworkManager-libnm + - nm-connection-editor + - nmap + - openssh-server + - podman + - psacct + - python3-dns + - python3-libvirt + - python3-lxml + - python3-libsemanage + - python3-policycoreutils + - python3-netaddr + - python3-pip + - python3-pyyaml + - python-podman-api + - qemu-kvm + - sos + - tmux + - toolbox + - python3-netaddr + - traceroute + - tree + - tuned + - vim + - virt-install + - virt-top + - wget + - yum-utils + - unzip + +## Services to enable +qubinode_services: + - libvirtd + - tuned + - cockpit + - cockpit.socket ##***************************** ## Optional User Configurations