Test dynamic disk;Disable containerimages temporarily
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Danny Bessems 2022-06-29 07:59:17 +02:00
parent c6a8f9f7bd
commit 00e3266360
3 changed files with 39 additions and 39 deletions

View File

@ -40,25 +40,25 @@
mode: 0600 mode: 0600
no_log: true no_log: true
- block: #- block:
- name: Extract container images # - name: Extract container images
ansible.builtin.unarchive: # ansible.builtin.unarchive:
src: /opt/metacluster/container-images/image-tarballs.tgz # src: /opt/metacluster/container-images/image-tarballs.tgz
dest: /opt/metacluster/container-images # dest: /opt/metacluster/container-images
list_files: yes # list_files: yes
register: imagetarballs # register: imagetarballs
- name: Import container images # - name: Import container images
ansible.builtin.command: # ansible.builtin.command:
cmd: k3s ctr image import {{ item }} # cmd: k3s ctr image import {{ item }}
chdir: /opt/metacluster/container-images # chdir: /opt/metacluster/container-images
loop: "{{ imagetarballs.files }}" # loop: "{{ imagetarballs.files }}"
- name: Delete redundant files # - name: Delete redundant files
ansible.builtin.file: # ansible.builtin.file:
path: /opt/metacluster/container-images # path: /opt/metacluster/container-images
state: absent # state: absent
- name: Install longhorn chart - name: Install longhorn chart
kubernetes.core.helm: kubernetes.core.helm:

View File

@ -30,15 +30,15 @@
loop_control: loop_control:
label: "{{ item.key }}" label: "{{ item.key }}"
- name: Pull and store containerimages #- name: Pull and store containerimages
ansible.builtin.command: # ansible.builtin.command:
cmd: skopeo copy docker://{{ item }} docker-archive:./{{ ( item | regex_findall('[^/:]+'))[-2] }}.tar:{{ item }} # cmd: skopeo copy docker://{{ item }} docker-archive:./{{ ( item | regex_findall('[^/:]+'))[-2] }}.tar:{{ item }}
chdir: /opt/metacluster/container-images # chdir: /opt/metacluster/container-images
loop: "{{ containerimages.results | map(attribute='stdout_lines') | flatten }}" # loop: "{{ containerimages.results | map(attribute='stdout_lines') | flatten }}"
- name: Compress tarballs #- name: Compress tarballs
community.general.archive: # community.general.archive:
dest: /opt/metacluster/container-images/image-tarballs.tgz # dest: /opt/metacluster/container-images/image-tarballs.tgz
path: /opt/metacluster/container-images/* # path: /opt/metacluster/container-images/*
format: gz # format: gz
remove: yes # remove: yes

View File

@ -33,7 +33,17 @@ PropertyCategories:
# - medium # - medium
# UserConfigurable: false # UserConfigurable: false
- Name: 1) Operating System - Name: 1) Kubernetes
ProductProperties:
- Key: guestinfo.fqdn
Type: string(1..)
Label: Appliance FQDN*
Description: 'Respective subdomains will be available for each component (e.g. storage.example.org); this address should already be configured as a wildcard record within your DNS zone.'
DefaultValue: 'example.org'
Configurations: '*'
UserConfigurable: true
- Name: 2) Operating System
ProductProperties: ProductProperties:
- Key: guestinfo.hostname - Key: guestinfo.hostname
@ -60,7 +70,7 @@ PropertyCategories:
Configurations: '*' Configurations: '*'
UserConfigurable: true UserConfigurable: true
- Name: 2) Networking - Name: 3) Networking
ProductProperties: ProductProperties:
- Key: guestinfo.ipaddress - Key: guestinfo.ipaddress
@ -103,16 +113,6 @@ PropertyCategories:
Configurations: '*' Configurations: '*'
UserConfigurable: true UserConfigurable: true
- Name: 3) Kubernetes
ProductProperties:
- Key: guestinfo.fqdn
Type: string(1..)
Label: Appliance FQDN*
Description: 'Respective subdomains will be available for each component (e.g. storage.example.org); this address should already be configured as a wildcard record within your DNS zone.'
DefaultValue: 'example.org'
Configurations: '*'
UserConfigurable: true
AdvancedOptions: AdvancedOptions:
- Key: appliance.name - Key: appliance.name
Value: "{{ appliance.name }}" Value: "{{ appliance.name }}"