Skip to content

Releases: techprober/cloud-estate

Packer Module v2.5

06 Oct 02:14
bf636f0
Compare
Choose a tag to compare

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

14 Jan 11:21
8d2a12d
Compare
Choose a tag to compare

Summary

Update current ubuntu-2204 template configs. Add new bake-cli option to be able to pass custom host_config file.

Changelogs

  • Add scsi_controller option - #276
  • Add custom host config path as a new cli-option - #277

Packer Module v2.3

03 Oct 07:49
28c427c
Compare
Choose a tag to compare

Summary

A few general patches to make the default playbook compatible with the newly updated ansible roles.

Changelogs

  • Use ansible_become_pass for authentication at playbook execution level - #211
  • Remove default user as a member of sudo group - #110
  • Remove sudo: ALL=(ALL) NOPASSWD:ALL from http/user-data - this line

Proxmox LXC Module v1

03 Oct 03:13
2b51d9d
Compare
Choose a tag to compare

Summary

Introduce a way to bake proxmox-lxc-template on the fly with Ansible -

Implementation

  • Proxmox LXC Module - #209
  • Inventory and Sample Playbooks - #210

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

Packer Module v2.2

17 Sep 05:25
4520a70
Compare
Choose a tag to compare

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

27 Aug 04:30
bd34896
Compare
Choose a tag to compare

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

24 Apr 07:13
e4f7787
Compare
Choose a tag to compare
[Packer Module] - v2.0

Packer Module v1.0

24 Apr 07:13
8a66ee4
Compare
Choose a tag to compare
[Packer Module] - v1.0