ansible_dev_env/inventory/host_vars/tnode4.yml

71 lines
1.6 KiB
YAML

---
#######################################
# Host inventory definition
# tnode4
#######################################
# host network configuration
ansible_host: 192.168.20.234
ip_cidr: 24
ip_gw: 192.168.20.1
ip_ns1: 192.168.20.21
ip_ns2: 192.168.20.22
domain: lan
#######################################
# Common configuration
# Container or VM
# host_type: Container
host_type: VM
#######################################
# VM/Container LXD configuration
# LXD profile to apply
profile: bridged
# LXD image selection
image_name: "debian"
image_vers: "12"
image_location: "images"
# where to deploy container
remote_name: starbug
#######################################
# VM/Container PVE configuration
vmid: 504
ct_template: debian-12-standard_12.2-1_amd64.tar.zst
vm_template: deb12-templ
vm_template_ip: 192.168.20.251
pve_node: starbug
api_user: root@pam
# in group_vars file
# api_password: xxxxxxxxxxx
api_host: starbug
swap: 1024
storage: virt-stor
bridge: vmbr0
root_pw: resetthispasswd
#######################################
# Host virtual hardware configuration
# CPU cores, Memory, Root disk size
cpu: 2
mem: 4
root: 100
#######################################
# Ansible roles to apply to host
# - uncomment to select
# - create_user includes create_user, sudoers, vim_setup, bash_mods and
# gitconfig roles
# - use "nil" for no ansible configuration management
host_config:
# - nil
- base_pkgs
- create_user
# - du_backups
# - monitorix
# - nagios_agent
# - docker
# - k3s
#######################################
# user definition for "create_user" role
user: rmorrow
pw: resetthispasswd
home: /home/rmorrow
# EOF