2023-04-13 18:43:32 +02:00
|
|
|
[vps]
|
|
|
|
mii
|
2024-09-17 23:44:20 +02:00
|
|
|
|
|
|
|
[k3s]
|
2024-09-19 23:10:00 +02:00
|
|
|
k3s-postgres
|
|
|
|
k3s-loadbalancer
|
2024-09-20 16:57:59 +02:00
|
|
|
k3s-server00
|
|
|
|
k3s-server01
|
2024-10-07 20:56:12 +02:00
|
|
|
k3s-server02
|
2024-09-20 16:57:59 +02:00
|
|
|
k3s-agent00
|
|
|
|
k3s-agent01
|
|
|
|
k3s-agent02
|
2024-10-08 04:13:38 +02:00
|
|
|
k3s-longhorn00
|
|
|
|
k3s-longhorn01
|
|
|
|
k3s-longhorn02
|
2024-09-19 23:10:00 +02:00
|
|
|
|
|
|
|
[k3s_server]
|
|
|
|
k3s-server00
|
|
|
|
k3s-server01
|
2024-10-07 20:56:12 +02:00
|
|
|
k3s-server02
|
2024-09-17 23:44:20 +02:00
|
|
|
|
2024-09-20 16:57:59 +02:00
|
|
|
[k3s_agent]
|
|
|
|
k3s-agent00
|
|
|
|
k3s-agent01
|
|
|
|
k3s-agent02
|
|
|
|
|
2024-10-08 04:13:38 +02:00
|
|
|
[k3s_storage]
|
|
|
|
k3s-longhorn00
|
|
|
|
k3s-longhorn01
|
|
|
|
k3s-longhorn02
|
|
|
|
|
2024-09-17 23:44:20 +02:00
|
|
|
[vm]
|
2024-09-20 16:57:59 +02:00
|
|
|
k3s-agent00
|
|
|
|
k3s-agent01
|
|
|
|
k3s-agent02
|
2024-09-19 23:10:00 +02:00
|
|
|
k3s-server00
|
|
|
|
k3s-server01
|
2024-10-07 20:56:12 +02:00
|
|
|
k3s-server02
|
2024-09-19 23:10:00 +02:00
|
|
|
k3s-postgres
|
|
|
|
k3s-loadbalancer
|
2024-10-08 04:13:38 +02:00
|
|
|
k3s-longhorn00
|
|
|
|
k3s-longhorn01
|
|
|
|
k3s-longhorn02
|
feat(ansible): add Docker host configuration with NFS mounts and utility packages
- Introduce Docker host configuration playbooks in `docker_host` role
- Install Docker and Docker Compose via apt repository
- Configure Docker user, group, and required directories (`/opt/docker`, `/media`)
- Add NFS mounts for Docker data, series, movies, and songs directories
- Add extra utility packages (`bat`, `ripgrep`, `fd-find`, `screen`, `eza`, `neovim`)
- Set up and manage `bash_aliases` for user-friendly command replacements (`batcat`, `nvim`, `eza`)
- Enhance `/group_vars` and `/host_vars` for Docker-related settings and secure access
- Add `docker-host00` and `docker-host01` entries to production and staging inventories
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2024-11-10 21:37:22 +01:00
|
|
|
docker-host00
|
2024-09-19 23:10:00 +02:00
|
|
|
|
2024-09-20 16:57:59 +02:00
|
|
|
[k3s_nodes]
|
|
|
|
k3s-server00
|
|
|
|
k3s-server01
|
2024-10-07 20:56:12 +02:00
|
|
|
k3s-server02
|
2024-09-20 16:57:59 +02:00
|
|
|
k3s-agent00
|
|
|
|
k3s-agent01
|
|
|
|
k3s-agent02
|
2024-10-08 04:13:38 +02:00
|
|
|
k3s-longhorn00
|
|
|
|
k3s-longhorn01
|
|
|
|
k3s-longhorn02
|
2024-09-20 16:57:59 +02:00
|
|
|
|
2024-09-19 23:10:00 +02:00
|
|
|
[db]
|
|
|
|
k3s-postgres
|
|
|
|
|
|
|
|
[loadbalancer]
|
|
|
|
k3s-loadbalancer
|
2024-09-17 23:44:20 +02:00
|
|
|
|
2024-09-19 23:10:00 +02:00
|
|
|
[vm:vars]
|
|
|
|
ansible_ssh_common_args='-o ProxyCommand="ssh -p 22 -W %h:%p -q aya01"'
|
feat(ansible): add Docker host configuration with NFS mounts and utility packages
- Introduce Docker host configuration playbooks in `docker_host` role
- Install Docker and Docker Compose via apt repository
- Configure Docker user, group, and required directories (`/opt/docker`, `/media`)
- Add NFS mounts for Docker data, series, movies, and songs directories
- Add extra utility packages (`bat`, `ripgrep`, `fd-find`, `screen`, `eza`, `neovim`)
- Set up and manage `bash_aliases` for user-friendly command replacements (`batcat`, `nvim`, `eza`)
- Enhance `/group_vars` and `/host_vars` for Docker-related settings and secure access
- Add `docker-host00` and `docker-host01` entries to production and staging inventories
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2024-11-10 21:37:22 +01:00
|
|
|
|
|
|
|
[docker]
|
|
|
|
docker-host00
|
|
|
|
|
|
|
|
[docker_host]
|
|
|
|
docker-host00
|
chore(inventory): add host-specific configuration files and update production inventory for proxmox hosts
- Add individual `host_vars` YAML files for new proxmox hosts (`aya01`, `inko`, `lulu`):
- Set SSH and Ansible connection variables, including `ansible_user`, `ansible_host`, `ansible_port`, and `ansible_ssh_private_key_file`
- Configure `ansible_become_pass` with respective vault entries for sudo access
- Define host-specific metadata, including hostname and IP address
- Update `production` inventory:
- Add new `[proxmox]` group and include `aya01`, `inko`, and `lulu` for proxmox-related automation
These additions streamline Ansible's management of proxmox hosts, centralizing their configuration and enabling easier host-specific variable access for deployment and management tasks.
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2024-11-13 23:55:22 +01:00
|
|
|
|
|
|
|
[proxmox]
|
|
|
|
aya01
|
|
|
|
lulu
|
|
|
|
inko
|