Releases: techprober/cloud-estate
Releases · techprober/cloud-estate
Packer Module v2.5
Summary
Update current ubuntu-2204
template configs. Use the latest ubuntu-2204.3
as the default one.
Changelogs
- Apply minor patches to packer template for better compatibility with pve8 - #385
References
Packer Module v2.4
Packer Module v2.3
Summary
A few general patches to make the default playbook compatible with the newly updated ansible roles.
Changelogs
Proxmox LXC Module v1
Summary
Introduce a way to bake proxmox-lxc-template
on the fly with Ansible -
Implementation
Details
- Add support for
ubuntu-privileged-2204-standard-lxc-template
- Add support for
ubuntu-unprivileged-2204-standard-lxc-template
- Add support for
ubuntu-privileged-2204-docker-lxc-template
- Add sample inventory list
- Add sample group_vars that are associated with the default inventory list
- Add relevant playbooks to automate the proxmox-lxc-template baking process
Prerequisites
Update group_vars
Inventory Structure
./inventory/
├── local.yml
├── main.yml
├── proxmox-lxc
│ ├── proxmox-ubuntu-privileged-docker-lxc
│ │ ├── group_vars
│ │ │ └── proxmox-ubuntu-privileged-docker-lxc.yml
│ │ └── main.yml
│ ├── proxmox-ubuntu-privileged-standard-lxc
│ │ ├── group_vars
│ │ │ └── proxmox-ubuntu-privileged-standard-lxc.yml
│ │ └── main.yml
│ └── proxmox-ubuntu-unprivileged-standard-lxc
│ ├── group_vars
│ │ └── proxmox-ubuntu-unprivileged-standard-lxc.yml
│ └── main.yml
└── proxmox.yml
Feel free to update group_vars for proxmox-ubuntu-*.yml
to fit your need.
Relevant Playbooks Preview
./playbooks/proxmox/
├── bake-lxc
│ ├── privileged
│ │ ├── purge-lxc.yml
│ │ ├── ubuntu-2204-docker.yml
│ │ └── ubuntu-2204-standard.yml
│ └── unprivileged
│ ├── purge-lxc.yml
│ └── ubuntu-2204-standard.yml
├── start-proxmox-vm.yml
└── stop-proxmox-vm.yml
How to Run
Bake ubuntu-2204-privileged-standard-lxc-template
cd $HOME/cloud-estate/ansible-playbooks
ansible-playbook -e ansible_become_pass=<localhost password> -i inventory/proxmox-lxc/proxmox-ubuntu-privileged-standard-lxc/ playbooks/proxmox/bake-lxc/privileged/ubuntu-2204-standard.yml
Purge ubuntu-2204-privileged-standard-lxc-template
cd $HOME/cloud-estate/ansible-playbooks
ansible-playbook -e ansible_become_pass=<localhost password> -i inventory/proxmox-lxc/proxmox-ubuntu-privileged-standard-lxc/ playbooks/proxmox/bake-lxc/privileged/purge-lxc.yml
References
- Ansible roles directory structure overview | Beginners Guide
- Create LXC Templates
- Extract a substring from a variable in Ansible
- Regex after matched string and white space in Ansible
- Ansible Handlers: running operations on change
- Ansible-playbook: directly run handler
- Creating a new user and password with Ansible
- ansible.builtin.meta module – Execute Ansible ‘actions’
- Ansible Special Variables
Packer Module v2.2
Summary
Use ansible roles defined in ./ansible-playbook/roles - implemented in #197
Changelogs
- Use external roles from ./ansible-playbook/roles (
user-data
) - Remove deprecated
ubuntu-2204-server
template - Fix variable conflicts
- Adapt new role settings
Packer Module v2.1
Summary
Add Ubuntu 2204-1 VM template support - implemented in #170
Changelogs
- Refine logics for minio/setup.ops - use jinja2 template to configure server connection
- Add Ubuntu 2204-1 VM template support
- Unset key encryption for minio role in
custom-proxmox-packer-template.pkr.hcl
- Unset key encryption for minio role
Example Deploy Script
./bake -i 9001 -t custom -n docker-ubuntu-2204-1-server-template -f vars/kevin-ubuntu-2204-1.json
Packer Module v2.0
[Packer Module] - v2.0
Packer Module v1.0
[Packer Module] - v1.0