Remove redundant quotes
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Danny Bessems 2022-06-26 18:32:05 +02:00
parent 59d1730ca5
commit f6993c2052
3 changed files with 17 additions and 1 deletions

View File

@ -7,4 +7,5 @@
- vapp - vapp
- network - network
- users - users
- metacluster
- cleanup - cleanup

View File

@ -0,0 +1,8 @@
- name: Install K3s
ansible.builtin.command:
cmd: ./install.sh
chdir: /opt/metacluster/xxx
environment:
INSTALL_K3S_SKIP_DOWNLOAD: 'true'
INSTALL_K3S_EXEC: 'server --cluster-init'

View File

@ -28,7 +28,7 @@
- name: Parse helm charts for container images - name: Parse helm charts for container images
ansible.builtin.command: ansible.builtin.command:
cmd: "{{ item.value.parse_cmd }}" /opt/metacluster/helm-charts/{{ item.key }}/values.yaml" cmd: "{{ item.value.parse_cmd }} /opt/metacluster/helm-charts/{{ item.key }}/values.yaml"
register: containerimages register: containerimages
loop: "{{ lookup('ansible.builtin.dict', components) }}" loop: "{{ lookup('ansible.builtin.dict', components) }}"
# loop_control: # loop_control:
@ -42,3 +42,10 @@
# 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: ... # loop: ...
# - name: Compress tarballs
# community.general.archive:
# dest: /opt/metacluster/container-images/{{ item | regex_findall('[^/:]+'))[-2] }}.tar.gz
# path: /opt/metacluster/container-images/{{ item | regex_findall('[^/:]+'))[-2] }}.tar
# remove: yes
# loop: ...