--- ##################################################################### # example inventory file for deploy-host.yml all: hosts: node1: ####################################### # Host inventory definition # node1 ####################################### # host network configuration ansible_host: 192.168.20.231 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: starbug ####################################### # Host virtual hardware configuration # CPU cores, Memory, Root disk size cpu: 2 mem: 4 root: 50 ####################################### # 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 node2: ####################################### # Host inventory definition # node2 ####################################### # host network configuration ansible_host: 192.168.20.232 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: starbug ####################################### # Host virtual hardware configuration # CPU cores, Memory, Root disk size cpu: 2 mem: 4 root: 50 ####################################### # 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 node3: ####################################### # Host inventory definition # node3 ####################################### # 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: starbug ####################################### # Host virtual hardware configuration # CPU cores, Memory, Root disk size cpu: 2 mem: 4 root: 50 ####################################### # 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