Test dynamic disk;Disable containerimages temporarily
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
c6a8f9f7bd
commit
00e3266360
@ -40,25 +40,25 @@
|
||||
mode: 0600
|
||||
no_log: true
|
||||
|
||||
- block:
|
||||
#- block:
|
||||
|
||||
- name: Extract container images
|
||||
ansible.builtin.unarchive:
|
||||
src: /opt/metacluster/container-images/image-tarballs.tgz
|
||||
dest: /opt/metacluster/container-images
|
||||
list_files: yes
|
||||
register: imagetarballs
|
||||
# - name: Extract container images
|
||||
# ansible.builtin.unarchive:
|
||||
# src: /opt/metacluster/container-images/image-tarballs.tgz
|
||||
# dest: /opt/metacluster/container-images
|
||||
# list_files: yes
|
||||
# register: imagetarballs
|
||||
|
||||
- name: Import container images
|
||||
ansible.builtin.command:
|
||||
cmd: k3s ctr image import {{ item }}
|
||||
chdir: /opt/metacluster/container-images
|
||||
loop: "{{ imagetarballs.files }}"
|
||||
# - name: Import container images
|
||||
# ansible.builtin.command:
|
||||
# cmd: k3s ctr image import {{ item }}
|
||||
# chdir: /opt/metacluster/container-images
|
||||
# loop: "{{ imagetarballs.files }}"
|
||||
|
||||
- name: Delete redundant files
|
||||
ansible.builtin.file:
|
||||
path: /opt/metacluster/container-images
|
||||
state: absent
|
||||
# - name: Delete redundant files
|
||||
# ansible.builtin.file:
|
||||
# path: /opt/metacluster/container-images
|
||||
# state: absent
|
||||
|
||||
- name: Install longhorn chart
|
||||
kubernetes.core.helm:
|
||||
|
@ -30,15 +30,15 @@
|
||||
loop_control:
|
||||
label: "{{ item.key }}"
|
||||
|
||||
- name: Pull and store containerimages
|
||||
ansible.builtin.command:
|
||||
cmd: skopeo copy docker://{{ item }} docker-archive:./{{ ( item | regex_findall('[^/:]+'))[-2] }}.tar:{{ item }}
|
||||
chdir: /opt/metacluster/container-images
|
||||
loop: "{{ containerimages.results | map(attribute='stdout_lines') | flatten }}"
|
||||
#- name: Pull and store containerimages
|
||||
# ansible.builtin.command:
|
||||
# cmd: skopeo copy docker://{{ item }} docker-archive:./{{ ( item | regex_findall('[^/:]+'))[-2] }}.tar:{{ item }}
|
||||
# chdir: /opt/metacluster/container-images
|
||||
# loop: "{{ containerimages.results | map(attribute='stdout_lines') | flatten }}"
|
||||
|
||||
- name: Compress tarballs
|
||||
community.general.archive:
|
||||
dest: /opt/metacluster/container-images/image-tarballs.tgz
|
||||
path: /opt/metacluster/container-images/*
|
||||
format: gz
|
||||
remove: yes
|
||||
#- name: Compress tarballs
|
||||
# community.general.archive:
|
||||
# dest: /opt/metacluster/container-images/image-tarballs.tgz
|
||||
# path: /opt/metacluster/container-images/*
|
||||
# format: gz
|
||||
# remove: yes
|
||||
|
@ -33,7 +33,17 @@ PropertyCategories:
|
||||
# - medium
|
||||
# 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:
|
||||
|
||||
- Key: guestinfo.hostname
|
||||
@ -60,7 +70,7 @@ PropertyCategories:
|
||||
Configurations: '*'
|
||||
UserConfigurable: true
|
||||
|
||||
- Name: 2) Networking
|
||||
- Name: 3) Networking
|
||||
ProductProperties:
|
||||
|
||||
- Key: guestinfo.ipaddress
|
||||
@ -103,16 +113,6 @@ PropertyCategories:
|
||||
Configurations: '*'
|
||||
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:
|
||||
- Key: appliance.name
|
||||
Value: "{{ appliance.name }}"
|
||||
|
Loading…
Reference in New Issue
Block a user