resetting repository

This commit is contained in:
Radar231 2023-12-22 13:42:13 -05:00
commit 62347cdff5
66 changed files with 2573 additions and 0 deletions

27
README.md Normal file
View File

@ -0,0 +1,27 @@
# Ansible development environment configuration
## Introduction
This is a skeleton for my ansible development environment.
## Configuration
The location of playbook directory, this skeleton directory, and the target
dev env directory are contained in variables at the start of the
'mk_dev_env_links' script.
## Initialize a development environment
To initialize a new dev env, create a new directory for the environment, and
copy the 'mk_dev_env_links' script into it. From within the dev env directory,
run the 'mk_dev_env_links' script.
The 'mk_dev_env_links' script will populate the directory with symlinks
pointing to the applicable ansible playbooks, collections and roles
subdirectories, each of which contain requirements.yml files. It will also
symlink any miscellaneous support scripts required for the dev env.
Once the symlinks have been created you can initialize any roles or galaxy
collections required for the environment by running the 'update_roles.sh'
script.

4
adhoc_ck-distros.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash
ansible all -i inventory/prod.yml -u root -m shell -a "cat /etc/issue"

4
adhoc_ck-kernels.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash
ansible all -i inventory/prod.yml -u root -m shell -a "uname -a"

4
adhoc_ck-lxd.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash
ansible lxd -i inventory/prod.yml -u root -m shell -a "/snap/bin/lxd --version"

4
adhoc_ck-ups.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash
ansible ups -i inventory/prod.yml -u root -m shell -a "upsc myups@localhost"

4
adhoc_ck-uptimes.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash
ansible all -i inventory/prod.yml -u root -m shell -a "uptime"

12
adhoc_ck-vps-crowdsec.sh Executable file
View File

@ -0,0 +1,12 @@
#!/bin/bash
echo ""
date +%Y%m%d-%H%M%S
echo ""
echo "firewall"
echo ""
ssh root@firewall.lan -- cscli decisions list
echo ""
ansible remote -i /home/rmorrow/dev/ansidev/inventory/prod.yml -u root -m shell -a "cscli decisions list"

View File

@ -0,0 +1,7 @@
---
collections:
- name: kubernetes.core
- name: kewlfft.aur
- name: community.general
# EOF

38
inventory/devel.yml Normal file
View File

@ -0,0 +1,38 @@
---
###########################################################################
#
# Inventory for delfax package updates (using updates.yml)
#
###########################################################################
all:
hosts:
children:
#############################################
pve:
hosts:
reddwarf:
starbug:
hollister:
skutter01:
skutter02:
#############################################
testing:
hosts:
deb11:
dev-pve1:
talkie:
lxdtst1:
lxdtst2:
lxdtst3:
tnode1:
tnode2:
tnode3:
tnode4:
cl01:
cl02:
cl03:
# EOF

View File

@ -0,0 +1,8 @@
$ANSIBLE_VAULT;1.1;AES256
65396130333564356561313966323832616461316663323861303932343938346236316432306233
3331343237663730626639353262343162633331653665360a633439616332626432306562303162
35393162323262383264636438303235363733633364646661326532343963613962656664373337
3938653663663265340a663330323530656663313138663364343932316364313339356137376463
38326434626638643538316661313664643136643536643534643933346635376335326365356264
32303733393931623261316165393435633431303838633434366239363236633364313133376539
366238326365646236346165343263386265

View File

@ -0,0 +1,49 @@
---
#######################################
# 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

View File

@ -0,0 +1,49 @@
---
#######################################
# Host inventory definition
# borg
#######################################
# host network configuration
ansible_host: 192.168.20.37
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: "debian"
image_vers: "12"
image_location: "images"
# where to deploy container
remote_name: reddwarf
#######################################
# Host virtual hardware configuration
# CPU cores, Memory, Root disk size
cpu: 2
mem: 4
root: 25
#######################################
# 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

View File

@ -0,0 +1,2 @@
---
ansible_host: 192.168.10.101

View File

@ -0,0 +1,49 @@
---
#######################################
# Host inventory definition
# cftrust
#######################################
# host network configuration
ansible_host: 192.168.20.38
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: docker
# LXD image selection
image_name: "debian"
image_vers: "12"
image_location: "images"
# where to deploy container
remote_name: reddwarf
#######################################
# Host virtual hardware configuration
# CPU cores, Memory, Root disk size
cpu: 2
mem: 4
root: 25
#######################################
# 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

View File

@ -0,0 +1,2 @@
---
ansible_host: 192.168.20.211

View File

@ -0,0 +1,2 @@
---
ansible_host: 192.168.20.212

View File

@ -0,0 +1,2 @@
---
ansible_host: 192.168.20.213

View File

@ -0,0 +1,2 @@
---
ansible_host: 192.168.20.93

View File

@ -0,0 +1,49 @@
---
#######################################
# Host inventory definition
# delans
#######################################
# host network configuration
ansible_host: 192.168.20.91
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: "debian"
image_vers: "12"
image_location: "images"
# where to deploy container
remote_name: reddwarf
#######################################
# Host virtual hardware configuration
# CPU cores, Memory, Root disk size
cpu: 2
mem: 4
root: 25
#######################################
# 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

View File

@ -0,0 +1,49 @@
---
#######################################
# Host inventory definition
# pve1
#######################################
# host network configuration
ansible_host: 192.168.20.241
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: reddwarf
#######################################
# 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

View File

@ -0,0 +1,3 @@
---
ansible_host: 132.145.102.73
ansible_port: 52310

View File

@ -0,0 +1,2 @@
---
ansible_host: 192.168.20.1

View File

@ -0,0 +1,49 @@
---
#######################################
# Host inventory definition
# frigate
#######################################
# host network configuration
ansible_host: 192.168.20.33
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: docker
# LXD image selection
image_name: "debian"
image_vers: "12"
image_location: "images"
# where to deploy container
remote_name: reddwarf
#######################################
# Host virtual hardware configuration
# CPU cores, Memory, Root disk size
cpu: 8
mem: 12
root: 250
#######################################
# 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

View File

@ -0,0 +1,49 @@
---
#######################################
# Host inventory definition
# haproxy
#######################################
# host network configuration
ansible_host: 192.168.20.27
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: docker
# LXD image selection
image_name: "debian"
image_vers: "12"
image_location: "images"
# where to deploy container
remote_name: skutter02
#######################################
# Host virtual hardware configuration
# CPU cores, Memory, Root disk size
cpu: 2
mem: 4
root: 25
#######################################
# 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

View File

@ -0,0 +1,49 @@
---
#######################################
# Host inventory definition
# hollister
#######################################
# host network configuration
ansible_host: 192.168.20.16
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: n/a
# LXD profile to apply
profile: n/a
# LXD image selection
image_name: "debian"
image_vers: "12"
image_location: n/a
# where to deploy container
remote_name: n/a
#######################################
# Host virtual hardware configuration
# CPU cores, Memory, Root disk size
cpu: 4
mem: 6
root: 400
#######################################
# 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

View File

@ -0,0 +1,49 @@
---
#######################################
# Host inventory definition
# holly
#######################################
# host network configuration
ansible_host: 192.168.10.105
ip_gw: 192.168.10.1
ip_ns1: 192.168.20.21
ip_ns2: 192.168.20.22
#######################################
# VM/Container LXD configuration
# LXD Container or VM
host_type: n/a
# LXD profile to apply
profile: n/a
# LXD image selection
image_name: "debian"
image_vers: "12"
image_location: "images"
# where to deploy container
remote_name: n/a
#######################################
# Host virtual hardware configuration
# CPU cores, Memory, Root disk size
cpu: 2
mem: 4
root: 500
#######################################
# 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

View File

@ -0,0 +1,49 @@
---
#######################################
# Host inventory definition
# jellyfin
#######################################
# host network configuration
ansible_host: 192.168.20.31
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: docker
# LXD image selection
image_name: "debian"
image_vers: "12"
image_location: "images"
# where to deploy container
remote_name: reddwarf
#######################################
# Host virtual hardware configuration
# CPU cores, Memory, Root disk size
cpu: 4
mem: 8
root: 32
#######################################
# 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

View File

@ -0,0 +1,3 @@
---
ansible_host: 132.145.96.27
ansible_port: 52310

View File

@ -0,0 +1,49 @@
---
#######################################
# Host inventory definition
# kasm
#######################################
# host network configuration
ansible_host: 192.168.20.32
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: docker
# LXD image selection
image_name: "debian"
image_vers: "12"
image_location: "images"
# where to deploy container
remote_name: starbug
#######################################
# 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

View File

@ -0,0 +1,2 @@
---
ansible_host: 192.168.20.90

View File

@ -0,0 +1,49 @@
---
#######################################
# Host inventory definition
# lister
#######################################
# host network configuration
ansible_host: 192.168.10.102
ip_gw: 192.168.10.1
ip_ns1: 192.168.20.21
ip_ns2: 192.168.20.22
#######################################
# VM/Container LXD configuration
# LXD Container or VM
host_type: n/a
# LXD profile to apply
profile: n/a
# LXD image selection
image_name: "debian"
image_vers: "12"
image_location: "images"
# where to deploy container
remote_name: n/a
#######################################
# Host virtual hardware configuration
# CPU cores, Memory, Root disk size
cpu: 4
mem: 6
root: 500
#######################################
# 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

View File

@ -0,0 +1,49 @@
---
#######################################
# Host inventory definition
# lms
#######################################
# host network configuration
ansible_host: 192.168.20.26
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: docker
# LXD image selection
image_name: "debian"
image_vers: "12"
image_location: "images"
# where to deploy container
remote_name: reddwarf
#######################################
# Host virtual hardware configuration
# CPU cores, Memory, Root disk size
cpu: 2
mem: 4
root: 32
#######################################
# 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

View File

@ -0,0 +1,49 @@
---
#######################################
# 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: Container
# LXD profile to apply
profile: bridged
# LXD image selection
image_name: "debian"
image_vers: "11"
image_location: "images"
# where to deploy container
remote_name: reddwarf
#######################################
# 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

View File

@ -0,0 +1,49 @@
---
#######################################
# Host inventory definition
# lxdtst2
#######################################
# host network configuration
ansible_host: 192.168.20.222
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: "debian"
image_vers: "11"
image_location: "images"
# where to deploy container
remote_name: reddwarf
#######################################
# 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

View File

@ -0,0 +1,49 @@
---
#######################################
# Host inventory definition
# lxdtst3
#######################################
# host network configuration
ansible_host: 192.168.20.223
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: "debian"
image_vers: "11"
image_location: "images"
# where to deploy container
remote_name: reddwarf
#######################################
# 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

View File

@ -0,0 +1,49 @@
---
#######################################
# Host inventory definition
# lxdware
#######################################
# host network configuration
ansible_host: 192.168.20.28
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: docker
# LXD image selection
image_name: "debian"
image_vers: "12"
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

View File

@ -0,0 +1,49 @@
---
#######################################
# Host inventory definition
# metrics
#######################################
# host network configuration
ansible_host: 192.168.20.35
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: docker
# LXD image selection
image_name: "debian"
image_vers: "11"
image_location: "images"
# where to deploy container
remote_name: reddwarf
#######################################
# Host virtual hardware configuration
# CPU cores, Memory, Root disk size
cpu: 2
mem: 4
root: 25
#######################################
# 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

View File

@ -0,0 +1,49 @@
---
#######################################
# Host inventory definition
# node-1-rpi4
#######################################
# host network configuration
ansible_host: 192.168.20.51
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: N/A
# LXD profile to apply
profile: k3s
# LXD image selection
image_name: "debian"
image_vers: "12"
image_location: "images"
# where to deploy container
remote_name: N/A
#######################################
# Host virtual hardware configuration
# CPU cores, Memory, Root disk size
cpu: 4
mem: 8
root: 64
#######################################
# 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

View File

@ -0,0 +1,49 @@
---
#######################################
# Host inventory definition
# node-2-rpi4
#######################################
# host network configuration
ansible_host: 192.168.20.52
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: N/A
# LXD profile to apply
profile: k3s
# LXD image selection
image_name: "debian"
image_vers: "12"
image_location: "images"
# where to deploy container
remote_name: N/A
#######################################
# Host virtual hardware configuration
# CPU cores, Memory, Root disk size
cpu: 4
mem: 8
root: 64
#######################################
# 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

View File

@ -0,0 +1,49 @@
---
#######################################
# Host inventory definition
# node-3-rpi4
#######################################
# host network configuration
ansible_host: 192.168.20.53
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: N/A
# LXD profile to apply
profile: k3s
# LXD image selection
image_name: "debian"
image_vers: "12"
image_location: "images"
# where to deploy container
remote_name: N/A
#######################################
# Host virtual hardware configuration
# CPU cores, Memory, Root disk size
cpu: 4
mem: 8
root: 64
#######################################
# 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

View File

@ -0,0 +1,49 @@
---
#######################################
# Host inventory definition
# node-4-rpi4
#######################################
# host network configuration
ansible_host: 192.168.20.54
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: N/A
# LXD profile to apply
profile: k3s
# LXD image selection
image_name: "debian"
image_vers: "12"
image_location: "images"
# where to deploy container
remote_name: N/A
#######################################
# Host virtual hardware configuration
# CPU cores, Memory, Root disk size
cpu: 4
mem: 8
root: 64
#######################################
# 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

View File

@ -0,0 +1,49 @@
---
#######################################
# Host inventory definition
# node-5-amd64
#######################################
# host network configuration
ansible_host: 192.168.20.55
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: k3s
# LXD image selection
image_name: "debian"
image_vers: "12"
image_location: "images"
# where to deploy container
remote_name: skutter01
#######################################
# Host virtual hardware configuration
# CPU cores, Memory, Root disk size
cpu: 4
mem: 4
root: 20
#######################################
# 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

View File

@ -0,0 +1,49 @@
---
#######################################
# Host inventory definition
# node-6-amd64
#######################################
# host network configuration
ansible_host: 192.168.20.56
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: k3s
# LXD image selection
image_name: "debian"
image_vers: "12"
image_location: "images"
# where to deploy container
remote_name: skutter02
#######################################
# Host virtual hardware configuration
# CPU cores, Memory, Root disk size
cpu: 4
mem: 4
root: 20
#######################################
# 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

View File

@ -0,0 +1,49 @@
---
#######################################
# Host inventory definition
# npm
#######################################
# host network configuration
ansible_host: 192.168.20.20
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: docker
# LXD image selection
image_name: "debian"
image_vers: "12"
image_location: "images"
# where to deploy container
remote_name: skutter01
#######################################
# Host virtual hardware configuration
# CPU cores, Memory, Root disk size
cpu: 2
mem: 4
root: 25
#######################################
# 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

View File

@ -0,0 +1,49 @@
---
#######################################
# Host inventory definition
# ntopng
#######################################
# host network configuration
ansible_host: 192.168.20.24
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: docker
# LXD image selection
image_name: "debian"
image_vers: "12"
image_location: "images"
# where to deploy container
remote_name: hollister
#######################################
# Host virtual hardware configuration
# CPU cores, Memory, Root disk size
cpu: 2
mem: 4
root: 25
#######################################
# 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

View File

@ -0,0 +1,2 @@
---
ansible_host: 192.168.20.104

View File

@ -0,0 +1,49 @@
---
#######################################
# Host inventory definition
# pihole1
#######################################
# host network configuration
ansible_host: 192.168.20.21
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: docker
# LXD image selection
image_name: "debian"
image_vers: "12"
image_location: "images"
# where to deploy container
remote_name: skutter01
#######################################
# Host virtual hardware configuration
# CPU cores, Memory, Root disk size
cpu: 2
mem: 4
root: 25
#######################################
# 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

View File

@ -0,0 +1,49 @@
---
#######################################
# Host inventory definition
# pihole2
#######################################
# host network configuration
ansible_host: 192.168.20.22
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: docker
# LXD image selection
image_name: "debian"
image_vers: "12"
image_location: "images"
# where to deploy container
remote_name: skutter02
#######################################
# Host virtual hardware configuration
# CPU cores, Memory, Root disk size
cpu: 2
mem: 4
root: 25
#######################################
# 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

View File

@ -0,0 +1,49 @@
---
#######################################
# Host inventory definition
# reddwarf
#######################################
# host network configuration
ansible_host: 192.168.20.10
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: n/a
# LXD profile to apply
profile: n/a
# LXD image selection
image_name: "debian"
image_vers: "12"
image_location: n/a
# where to deploy container
remote_name: n/a
#######################################
# Host virtual hardware configuration
# CPU cores, Memory, Root disk size
cpu: 8
mem: 16
root: 500
#######################################
# 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

View File

@ -0,0 +1,49 @@
---
#######################################
# Host inventory definition
# restreamer
#######################################
# host network configuration
ansible_host: 192.168.20.36
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: docker
# LXD image selection
image_name: "debian"
image_vers: "12"
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

View File

@ -0,0 +1,49 @@
---
#######################################
# Host inventory definition
# skutter01
#######################################
# host network configuration
ansible_host: 192.168.20.61
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: n/a
# LXD profile to apply
profile: n/a
# LXD image selection
image_name: "debian"
image_vers: "11"
image_location: n/a
# where to deploy container
remote_name: n/a
#######################################
# Host virtual hardware configuration
# CPU cores, Memory, Root disk size
cpu: 4
mem: 8
root: 200
#######################################
# 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

View File

@ -0,0 +1,49 @@
---
#######################################
# Host inventory definition
# skutter02
#######################################
# host network configuration
ansible_host: 192.168.20.62
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: n/a
# LXD profile to apply
profile: n/a
# LXD image selection
image_name: "debian"
image_vers: "12"
image_location: n/a
# where to deploy container
remote_name: n/a
#######################################
# Host virtual hardware configuration
# CPU cores, Memory, Root disk size
cpu: 4
mem: 8
root: 200
#######################################
# 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

View File

@ -0,0 +1,49 @@
---
#######################################
# Host inventory definition
# starbug
#######################################
# host network configuration
ansible_host: 192.168.20.15
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: n/a
# LXD profile to apply
profile: n/a
# LXD image selection
image_name: "debian"
image_vers: "12"
image_location: n/a
# where to deploy container
remote_name: n/a
#######################################
# Host virtual hardware configuration
# CPU cores, Memory, Root disk size
cpu: 24
mem: 64
root: 900
#######################################
# 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

View File

@ -0,0 +1,3 @@
---
ansible_host: 140.238.158.181
ansible_port: 52310

View File

@ -0,0 +1,70 @@
---
#######################################
# Host inventory definition
# tnode1
#######################################
# host network configuration
ansible_host: 192.168.20.231
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: 501
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: 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

View File

@ -0,0 +1,70 @@
---
#######################################
# Host inventory definition
# tnode2
#######################################
# host network configuration
ansible_host: 192.168.20.232
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: 502
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: local-lvm
bridge: vmbr0
root_pw: resetthispasswd
#######################################
# 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

View File

@ -0,0 +1,70 @@
---
#######################################
# Host inventory definition
# tnode3
#######################################
# host network configuration
ansible_host: 192.168.20.233
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: 503
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: local-lvm
bridge: vmbr0
root_pw: resetthispasswd
#######################################
# 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

View File

@ -0,0 +1,70 @@
---
#######################################
# 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

View File

@ -0,0 +1,49 @@
---
#######################################
# Host inventory definition
# ttrss
#######################################
# host network configuration
ansible_host: 192.168.20.34
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: docker
# LXD image selection
image_name: "debian"
image_vers: "12"
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

View File

@ -0,0 +1,49 @@
---
#######################################
# Host inventory definition
# twiki
#######################################
# host network configuration
ansible_host: 192.168.20.25
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: docker
# LXD image selection
image_name: "debian"
image_vers: "12"
image_location: "images"
# where to deploy container
remote_name: hollister
#######################################
# Host virtual hardware configuration
# CPU cores, Memory, Root disk size
cpu: 2
mem: 4
root: 25
#######################################
# 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

View File

@ -0,0 +1,49 @@
---
#######################################
# Host inventory definition
# webtop
#######################################
# host network configuration
ansible_host: 192.168.20.33
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: docker
# LXD image selection
image_name: "debian"
image_vers: "11"
image_location: "images"
# where to deploy container
remote_name: starbug
#######################################
# 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

130
inventory/prod.yml Normal file
View File

@ -0,0 +1,130 @@
---
###########################################################################
#
# Inventory for delfax package updates (using updates.yml)
#
###########################################################################
all:
hosts:
children:
##########################################################################################
#############################################
local:
hosts:
# ws
cat:
holly:
kryten:
lister:
# svrs
hollister:
reddwarf:
skutter01:
skutter02:
starbug:
# k8s
node-1-rpi4:
node-2-rpi4:
node-3-rpi4:
node-4-rpi4:
# vms
kasm:
node-5-amd64:
node-6-amd64:
jellyfin:
lms:
# ctrs
borg:
cftrust:
delans:
frigate:
haproxy:
metrics:
npm:
ntopng:
#octoprint:
pihole1:
pihole2:
twiki:
#############################################
remote:
hosts:
jmc:
dibley:
talkie:
##########################################################################################
#############################################
workstations:
hosts:
cat:
holly:
kryten:
lister:
#############################################
servers:
hosts:
hollister:
reddwarf:
skutter01:
skutter02:
starbug:
#############################################
k8s:
hosts:
node-1-rpi4:
node-2-rpi4:
node-3-rpi4:
node-4-rpi4:
#############################################
vms:
hosts:
kasm:
node-5-amd64:
node-6-amd64:
jellyfin:
lms:
#############################################
ctrs:
hosts:
borg:
cftrust:
delans:
frigate:
haproxy:
metrics:
npm:
ntopng:
#octoprint:
pihole1:
pihole2:
twiki:
##########################################################################################
#############################################
arch:
hosts:
cat:
#############################################
ups:
hosts:
kryten:
starbug:
reddwarf:
#############################################
crowdsec:
hosts:
jmc:
talkie:
dibley:
# EOF

39
mk_dev_env_links Executable file
View File

@ -0,0 +1,39 @@
#!/bin/bash
playbookDir="${HOME}/dev/git.radar231.com/playbook_*"
devEnvDir="${HOME}/dev/git.radar231.com/ansible_dev_env"
devDir="${HOME}/dev/ansidev"
cd ${devDir}
#####################################
# playbook yaml links
list=$(find ${playbookDir} -name "*.yml")
for i in $list
do
ln -sf $i .
done
#####################################
# dev env script links
list=$(find ${devEnvDir} -name "*.sh")
for i in $list
do
ln -sf $i .
done
#####################################
# playbook script links
list=$(find ${playbookDir} -name "*.sh")
for i in $list
do
ln -sf $i .
done
#####################################
# directory links
ln -sf ${devEnvDir}/collections .
ln -sf ${devEnvDir}/inventory .
ln -sf ${devEnvDir}/roles .
# EOF

215
roles/requirements.yml Normal file
View File

@ -0,0 +1,215 @@
---
- src: https://git.radar231.com/radar231/role_age
name: age
scm: git
- src: https://git.radar231.com/radar231/role_ansible
name: ansible
scm: git
- src: https://git.radar231.com/radar231/role_aur_builder
name: aur_builder
scm: git
- src: https://git.radar231.com/radar231/role_base_pkgs
name: base_pkgs
scm: git
- src: https://git.radar231.com/radar231/role_borg_backups
name: borg_backups
scm: git
- src: https://git.radar231.com/radar231/role_chk_upgrades
name: chk_upgrades
scm: git
- src: https://git.radar231.com/radar231/role_create_user
name: create_user
scm: git
- src: https://git.radar231.com/radar231/role_docker
name: docker
scm: git
- src: https://git.radar231.com/radar231/role_du_backups
name: du_backups
scm: git
- src: https://git.radar231.com/radar231/role_k3s
name: k3s
scm: git
- src: https://git.radar231.com/radar231/role_k8s_dashy_deploy
name: dashy_deploy
scm: git
- src: https://git.radar231.com/radar231/role_k8s_ddclient_deploy
name: ddclient_deploy
scm: git
- src: https://git.radar231.com/radar231/role_k8s_delinit_deploy
name: delinit_deploy
scm: git
- src: https://git.radar231.com/radar231/role_k8s_flexget_deploy
name: flexget_deploy
scm: git
- src: https://git.radar231.com/radar231/role_k8s_freshrss_deploy
name: freshrss_deploy
scm: git
- src: https://git.radar231.com/radar231/role_k8s_haproxy_deploy
name: haproxy_deploy
scm: git
- src: https://git.radar231.com/radar231/role_k8s_heimdall_deploy
name: heimdall_deploy
scm: git
- src: https://git.radar231.com/radar231/role_k8s_homer_deploy
name: homer_deploy
scm: git
- src: https://git.radar231.com/radar231/role_k8s_home-assistant_deploy
name: home-assistant_deploy
scm: git
- src: https://git.radar231.com/radar231/role_k8s_journal-wiki_deploy
name: journal-wiki_deploy
scm: git
- src: https://git.radar231.com/radar231/role_k8s_linkding_deploy
name: linkding_deploy
scm: git
- src: https://git.radar231.com/radar231/role_k8s_metallb_deploy
name: metallb_deploy
scm: git
- src: https://git.radar231.com/radar231/role_k8s_mosquitto_deploy
name: mosquitto_deploy
scm: git
- src: https://git.radar231.com/radar231/role_k8s_motioneye_deploy
name: motioneye_deploy
scm: git
- src: https://git.radar231.com/radar231/role_k8s_nagios_deploy
name: nagios_deploy
scm: git
- src: https://git.radar231.com/radar231/role_k8s_navidrome_deploy
name: navidrome_deploy
scm: git
- src: https://git.radar231.com/radar231/role_k8s_nfs-provisioner_deploy
name: nfs-provisioner_deploy
scm: git
- src: https://git.radar231.com/radar231/role_k8s_notes-wiki_deploy
name: notes-wiki_deploy
scm: git
- src: https://git.radar231.com/radar231/role_k8s_pihole_deploy
name: pihole_deploy
scm: git
- src: https://git.radar231.com/radar231/role_k8s_signal-api_deploy
name: signal-api_deploy
scm: git
- src: https://git.radar231.com/radar231/role_k8s_transmission-openvpn_deploy
name: transmission-openvpn_deploy
scm: git
- src: https://git.radar231.com/radar231/role_k8s_uptime-kuma_deploy
name: uptime-kuma_deploy
scm: git
- src: https://git.radar231.com/radar231/role_k8s_vaultwarden_deploy
name: vaultwarden_deploy
scm: git
- src: https://git.radar231.com/radar231/role_k8s_website_deploy
name: website_deploy
scm: git
- src: https://git.radar231.com/radar231/role_k8s_website-wiki_deploy
name: website-wiki_deploy
scm: git
- src: https://git.radar231.com/radar231/role_k8s_wfh-wiki_deploy
name: wfh-wiki_deploy
scm: git
- src: https://git.radar231.com/radar231/role_kubectl
name: kubectl
scm: git
- src: https://git.radar231.com/radar231/role_lxd-deploy
name: lxd-deploy
scm: git
- src: https://git.radar231.com/radar231/role_microk8s
name: microk8s
scm: git
- src: https://git.radar231.com/radar231/role_monitorix
name: monitorix
scm: git
- src: https://git.radar231.com/radar231/role_nagios_agent
name: nagios_agent
scm: git
- src: https://git.radar231.com/radar231/role_netdata
name: netdata
scm: git
- src: https://git.radar231.com/radar231/role_pfetch
name: pfetch
scm: git
- src: https://git.radar231.com/radar231/role_pve-deploy
name: pve-deploy
scm: git
- src: https://git.radar231.com/radar231/role_reboot
name: reboot
scm: git
- src: https://git.radar231.com/radar231/role_rem_base_pkgs
name: rem_base_pkgs
scm: git
- src: https://git.radar231.com/radar231/role_sops
name: sops
scm: git
- src: https://git.radar231.com/radar231/role_sudoers
name: sudoers
scm: git
- src: https://git.radar231.com/radar231/role_create_reboot-required
name: create_reboot-required
scm: git
- src: https://git.radar231.com/radar231/role_update_ansi_auth
name: update_ansi_auth
scm: git
- src: https://git.radar231.com/radar231/role_update_cache
name: update_cache
scm: git
- src: https://git.radar231.com/radar231/role_upgrade_pkgs
name: upgrade_pkgs
scm: git
- src: https://git.radar231.com/radar231/role_vim_setup
name: vim_setup
scm: git
# EOF

4
update_collections.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash
ansible-galaxy install -r collections/requirements.yml --force

4
update_roles.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash
ansible-galaxy install -r roles/requirements.yml --force