3 Commits

Author SHA1 Message Date
52660e1414 Fix var reference
Some checks failed
continuous-integration/drone/push Build is failing
2022-06-27 17:05:30 +02:00
0ab6aaeaa5 Fix foldername 2022-06-27 16:57:14 +02:00
02c26b2465 Scale down cpu/ram 2022-06-27 16:46:27 +02:00
3 changed files with 13 additions and 15 deletions

View File

@@ -40,19 +40,16 @@
- name: Extract container images
ansible.builtin.unarchive:
src: /opt/metacluster/container_images/images-tarballs.tgz
dest: /opt/metacluster/container_images
src: /opt/metacluster/container-images/images-tarballs.tgz
dest: /opt/metacluster/container-images
list_files: yes
register: imagetarballs
- ansible.builtin.debug:
var: imagetarballs
- name: Import container images
ansible.builtin.command:
cmd: k3s ctr image import {{ item }}
chdir: /opt/metacluster/container_images
loop: "{{ imagetarballs.stdout_lines }}"
loop: "{{ imagetarballs.files }}"
- name: Delete redundant files
ansible.builtin.file:

View File

@@ -36,7 +36,7 @@
chdir: /opt/metacluster/container-images
loop: "{{ containerimages.results | map(attribute='stdout_lines') | flatten }}"
- name: Compress tarballs
- name: Compress tarballs -- **SLOW**
community.general.archive:
dest: /opt/metacluster/container-images/image-tarballs.tgz
path: /opt/metacluster/container-images/*

View File

@@ -1,16 +1,16 @@
DeploymentConfigurations:
- Id: small
Label: 'Ubuntu Server 20.04 [SMALL: 1 vCPU/2GB RAM]'
Description: Ubuntu Server 20.04.x
Label: 'Ubuntu Server 22.04 [SMALL: 1 vCPU/2GB RAM]'
Description: Ubuntu Server 22.04.x
Size:
CPU: 1
Memory: 2048
- Id: large
Label: 'Ubuntu Server 20.04 [LARGE: 4 vCPU/8GB RAM]'
Description: Ubuntu Server 20.04.x
- Id: medium
Label: 'Ubuntu Server 22.04 [MEDIUM: 2 vCPU/4GB RAM]'
Description: Ubuntu Server 22.04.x
Size:
CPU: 4
Memory: 8192
CPU: 2
Memory: 4096
DynamicDisks: []
PropertyCategories:
# - Name: 0) Deployment information
@@ -19,7 +19,7 @@ PropertyCategories:
# Type: string
# Value:
# - small
# - large
# - medium
# UserConfigurable: false
- Name: 1) Operating System
ProductProperties:
@@ -81,6 +81,7 @@ PropertyCategories:
DefaultValue: ''
Configurations: '*'
UserConfigurable: true
AdvancedOptions:
- Key: appliance.name
Value: "{{ appliance.name }}"