ansible-install-server/roles/fai/defaults/main.yml

119 lines
4.1 KiB
YAML

---
### FAI defaults
debian_release_fai: "bullseye"
debian_release_nfsroot: "bullseye"
ubuntu_mirror_url: "http://archive.ubuntu.com"
dhcp_interface: "eth1"
wan_interface: "{{ (ansible_default_ipv4 |d(ansible_default_ipv6)).interface }}"
server_name: "faiserver"
domain_name: "local"
server_ip: "192.168.33.9/24"
server_network_prefix: "{{ server_ip | ipaddr('network/prefix') }}"
server_network: "{{ server_ip | ipaddr('network') }}"
server_address: "{{ server_ip | ipaddr('address') }}"
server_prefix: "{{ server_ip | ipaddr('prefix') }}"
server_netmask: "{{ server_ip | ipaddr('netmask') }}"
server_broadcast: "{{ server_ip | ipaddr('broadcast') }}"
timeservers:
- "{{ server_address }}"
ntpservers:
- "{{ server_address }}"
apt_cacher_offline_mode: false
use_apt_cache_for_server: true
fai_etc_dir: "/etc/fai"
fai_dir: "/srv/fai"
fai_dir_config: "{{ fai_dir }}/config"
fai_dir_nfsroot: "{{ fai_dir }}/nfsroot"
fai_dir_nfsroot_boot: "{{ fai_dir_nfsroot }}/boot"
fai_config_archive: "config.tar"
fai_squashfs_file: "squash.img"
fai_squashfs_path: "{{ fai_dir_download + '/' + fai_squashfs_file }}"
fai_loguser:
fai_menu_default: 'HW4F Desktop Jammy'
fai_nfsroot_force_rebuild: false
#fai_flags: [verbose,sshd,createvt,menu,debug,reboot]
fai_flags:
- verbose
- sshd
- createvt
- menu
#- debug
fai_install_hostname: "user-pc"
fai_hw4f_password_salt: "toXu6kiez1haetan"
fai_hw4f_rootpw_fai: "fai"
fai_hw4f_profile_username: "user"
fai_hw4f_profile_password: "dezentrale"
fai_hw4f_rootpw: "{{ fai_hw4f_profile_password }}"
tftp_dir: "/srv/tftp/fai"
nginx_root: "/var/www/html"
nginx_dir_config: "/etc/nginx"
nginx_site_available: "{{ nginx_dir_config + '/sites-available/' + ansible_hostname + '.conf' }}"
nginx_site_enabled: "{{ nginx_dir_config + '/sites-enabled/' + ansible_hostname + '.conf' }}"
nginx_site_default: "{{ nginx_dir_config + '/sites-enabled/' + 'default' }}"
fai_dir_download: "{{ nginx_root + '/' + http_mirror_fai_path_prefix }}"
fai_dir_basefile: "{{ fai_dir_download + '/' + http_mirror_basefile_path_prefix }}"
http_mirror: "http://{{ server_name }}"
http_mirror_ipxe_path_prefix: "ipxe"
http_mirror_fai_path_prefix: "fai"
http_mirror_basefile_path_prefix: "basefile"
http_mirror_ipxe_root_url: "{{ http_mirror + '/' + http_mirror_ipxe_path_prefix }}"
http_mirror_fai_root_url: "{{ http_mirror + '/' + http_mirror_fai_path_prefix }}"
http_mirror_fai_profiles_url: "{{ http_mirror_fai_root_url + '/' + fai_config_archive }}"
http_mirror_fai_squashfs_url: "{{ http_mirror_fai_root_url + '/' + fai_squashfs_file }}"
http_mirror_fai_basefile_url: "{{ http_mirror_fai_root_url + '/' + http_mirror_basefile_path_prefix }}"
ipxe_additional_entries: []
ipxe_dir_binaries: "/usr/lib/ipxe"
ipxe_dir_download: "{{ nginx_root + '/' + http_mirror_ipxe_path_prefix }}"
pxe_preselected_entry: "fai"
#pxe_preselected_entry: "exit"
pxe_menu_timeout: 5000
### CLONEZILLA
clonezilla_dir: "{{ nginx_root }}/clonezilla"
clonezilla_dir_download: "{{ clonezilla_dir + '/download' }}"
clonezilla_base_download_url_osdn: "https://osdn.net/dl"
clonezilla_base_download_url_sf: "https://downloads.sourceforge.net"
clonezilla_base_download_url: "{{ clonezilla_base_download_url_osdn }}"
clonezilla_version: "2.8.1-12"
### amd64/i686-pae/i686
clonezilla_arch: "amd64"
### zip/iso
clonezilla_type: "zip"
clonezilla_archive: "{{
'/clonezilla-live-' +
clonezilla_version + '-' +
clonezilla_arch + '.' +
clonezilla_type
}}"
clonezilla_download_url: "{{
clonezilla_base_download_url +
'/clonezilla' +
clonezilla_archive
}}"
package_set:
core:
debian:
standard: [
apt-file, apt-transport-https, aptitude, bash-completion, ca-certificates, curl,
dmidecode, dosfstools, git, htop, haveged, iftop, info, iotop, jq, libcrack2,
locales, lsb-release, lsof, man-db, mc, mlocate, openssl, parted, pigz, psmisc,
pv, pwgen, python3-apt, rsync, screen, sqlite3, ssl-cert, strace, sudo,
sysstat, tcpdump, tmux, unattended-upgrades, vim, wget, zsh ]
extra: [ btrfs-progs ]
crond_kamikaze: "/etc/cron.d/kamikaze"
ubuntu:
snaps:
- name: firefox
channel: stable
classic: false