Skip to content

Commit

Permalink
add unzip package
Browse files Browse the repository at this point in the history
  • Loading branch information
Rodrique Heron committed Feb 28, 2021
1 parent 489e910 commit e9792e5
Showing 1 changed file with 107 additions and 2 deletions.
109 changes: 107 additions & 2 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e9792e5

Please sign in to comment.