ansible_dev_env/inventory/host_vars/lxdtst1.yml

50 lines
1.1 KiB
YAML

---
#######################################
# Host inventory definition
# lxdtst1
#######################################
# host network configuration
ansible_host: 192.168.20.221
ip_gw: 192.168.20.1
ip_ns1: 192.168.20.21
ip_ns2: 192.168.20.22
#######################################
# VM/Container LXD configuration
# LXD Container or VM
host_type: VM
# LXD profile to apply
profile: bridged
# LXD image selection
image_name: "debian"
image_vers: "12"
image_location: "images"
# where to deploy container
remote_name: local
#######################################
# 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