Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lanefu/lanecloud-snippets
a mess of nomad qemu netbox and more
https://github.com/lanefu/lanecloud-snippets
ansible netbox nomad qemu
Last synced: 17 days ago
JSON representation
a mess of nomad qemu netbox and more
- Host: GitHub
- URL: https://github.com/lanefu/lanecloud-snippets
- Owner: lanefu
- License: mit
- Created: 2022-03-25T16:50:10.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-04-10T13:45:49.000Z (over 2 years ago)
- Last Synced: 2024-10-30T02:43:56.053Z (2 months ago)
- Topics: ansible, netbox, nomad, qemu
- Language: HCL
- Homepage:
- Size: 6.84 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# lanecloud-snippets
a mess of nomad qemu netbox and moreaka
_how to provision dynamic VMs and config via nomad via ansible_
This is just my opinionated take/attempt at dynamic VM provisioning using a blend of new school and old school tech.
end result is an accelerated VM, configured with IP and DNS record, user keys etc online in under 2 minutes.
## huh?* cloud-init user-data and meta-data stored as keys in consul KV
* available via nginx rewrite## why?
I see a lot of the smaller VPS providers using kind of older methods for provisioning and/or just wrappers on proxmox.
I wanted to see what I could do from scratch using tools I like and be able to tune where I wanted.### parameterized nomad job
* copy base image to alloc and resize
* configure nocloud ISO with network config and userdata info
* deploy#### paraam payload
mac address, systemname etc
## ansible
example playbook and template of dynamic dispatch of nomad job for qemu provisioning