ansible_dev_env/inventory/host_vars/_template.yml

50 lines
1.2 KiB
YAML

---
#######################################
# Host inventory definition
# template
#######################################
# host network configuration
ansible_host: 192.168.20.233
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: Container
# LXD profile to apply
profile: bridged
# LXD image selection
image_name: "ubuntu"
image_vers: "22.04"
image_location: "images"
# where to deploy container
remote_name: hollister
#######################################
# Host virtual hardware configuration
# CPU cores, Memory, Root disk size
cpu: 4
mem: 8
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