add the current state of the vmsetup
This commit is contained in:
commit
d3675f34bf
19 changed files with 985 additions and 0 deletions
2
roles/create-vm/templates/meta-data.j2
Normal file
2
roles/create-vm/templates/meta-data.j2
Normal file
|
@ -0,0 +1,2 @@
|
|||
# cloud-init metadata
|
||||
# file must exist, but can be empty
|
11
roles/create-vm/templates/user-data.j2
Normal file
11
roles/create-vm/templates/user-data.j2
Normal file
|
@ -0,0 +1,11 @@
|
|||
# cloud-config
|
||||
locale: "de_DE.UTF-8"
|
||||
packages:
|
||||
- screen
|
||||
- ripgrep
|
||||
- ranger
|
||||
users:
|
||||
- default:
|
||||
ssh_authorized_keys:
|
||||
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEGThAm6K/gH+36Q616He7Hykd3HEMVMifsbSlXuw9j7 carl@work
|
||||
|
8
roles/create-vm/templates/vm_hostvars.j2
Normal file
8
roles/create-vm/templates/vm_hostvars.j2
Normal file
|
@ -0,0 +1,8 @@
|
|||
# autmomatically created via create-vm.yml
|
||||
---
|
||||
ansible_host:
|
||||
mac: '{{ macgen.stdout }}'
|
||||
cpu: '{{ vcpus }}'
|
||||
ram: '{{ ram }}'
|
||||
hdd: '{{image_capacity}}'
|
||||
server: '{{ ansible_hostname }}'
|
Loading…
Add table
Add a link
Reference in a new issue