Skip to content

Commit e9792e5

Browse files
author
Rodrique Heron
committed
add unzip package
1 parent 489e910 commit e9792e5

File tree

1 file changed

+107
-2
lines changed

1 file changed

+107
-2
lines changed

defaults/main.yml

Lines changed: 107 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,113 @@ libvirt_disk: false
2626
# set to false to skip creating a bridge interface
2727
configure_bridge: true
2828

29-
# Name for the bridge interface
30-
qubinode_bridge_name: qubibr0
29+
## name for libvirt bridge network
30+
libvirt_bridge_name: qubinet
31+
32+
## name for the system bridge ethernet interface
33+
qubinode_bridge_device: qubibr0
34+
35+
## Static Networking Config
36+
##
37+
## Default behaviour is to use the host primary network
38+
## interface as the bridge bridge along with the current networking
39+
## info discovered by facts.
40+
## Setting these values are optional
41+
#bridge_interface: ""
42+
#gateway_ip: ""
43+
#ip_address: ""
44+
#netmask_prefix: ""
45+
#host_netmask: ""
46+
#mac_address: ""
47+
#mtu: 1500
48+
49+
## Additional interface settings
50+
ignore_auto_routes: no
51+
ignore_auto_dns: no
52+
ipv6_method: ignore
53+
54+
######################
55+
## Libvirt Storage
56+
##
57+
## Set to no if you don't want to configure libvirt storage
58+
create_libvirt_storage: yes
59+
## Where to store libvirt VMs disk images
60+
libvirt_images_dir: /var/lib/libvirt/images
61+
## Libvirt pool name
62+
libvirt_pool_name: default
63+
64+
###############################
65+
## No need to modify these vars
66+
##
67+
## Setup host networking vars
68+
discovered_ip: "{{ ansible_default_ipv4.address|default(ansible_all_ipv4_addresses[0]) }}"
69+
kvm_host_gw: "{{ gateway_ip|default(ansible_default_ipv4.gateway) }}"
70+
kvm_host_interface: "{{ bridge_interface|default(ansible_default_ipv4.interface) }}"
71+
kvm_host_ip: "{{ ip_address|default(discovered_ip) }}"
72+
kvm_host_netmask: "{{ host_netmask|default(ansible_default_ipv4.netmask) }}"
73+
kvm_host_macaddr: "{{ mac_address|default(ansible_facts[kvm_host_interface]['macaddress']) }}"
74+
kvm_host_ip_mask: "{{ kvm_host_ip }}/{{ kvm_host_netmask }}"
75+
kvm_host_mask_prefix: "{{ netmask_prefix|default(kvm_host_ip_mask | ipaddr('prefix')) }}"
76+
kvm_host_mtu: "{{ mtu }}"
77+
kvm_host_auto_routes: "{{ ignore_auto_routes }}"
78+
kvm_host_auto_dns: "{{ ignore_auto_dns }}"
79+
kvm_host_ipv6_method: "{{ ipv6_method }}"
80+
81+
# KVM host packages
82+
libvirt_pkgs:
83+
- bash-completion
84+
- bind-utils
85+
- cockpit
86+
- cockpit-dashboard
87+
- cockpit-machines
88+
- firewalld
89+
- git
90+
- ipcalc
91+
- kexec-tools
92+
- libguestfs-tools
93+
- libguestfs-tools-c
94+
- libvirt-client
95+
- libvirt-daemon
96+
- libvirt-daemon-config-network
97+
- libvirt-daemon-kvm
98+
- net-tools
99+
- nfs-utils
100+
- NetworkManager-libnm
101+
- nm-connection-editor
102+
- nmap
103+
- openssh-server
104+
- podman
105+
- psacct
106+
- python3-dns
107+
- python3-libvirt
108+
- python3-lxml
109+
- python3-libsemanage
110+
- python3-policycoreutils
111+
- python3-netaddr
112+
- python3-pip
113+
- python3-pyyaml
114+
- python-podman-api
115+
- qemu-kvm
116+
- sos
117+
- tmux
118+
- toolbox
119+
- python3-netaddr
120+
- traceroute
121+
- tree
122+
- tuned
123+
- vim
124+
- virt-install
125+
- virt-top
126+
- wget
127+
- yum-utils
128+
- unzip
129+
130+
## Services to enable
131+
qubinode_services:
132+
- libvirtd
133+
- tuned
134+
- cockpit
135+
- cockpit.socket
31136

32137
##*****************************
33138
## Optional User Configurations

0 commit comments

Comments
 (0)