Remove debugging; Cleanup redundant logic;Add vapp property
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
@ -56,6 +56,17 @@
|
||||
path: /opt/metacluster/container_images
|
||||
state: absent
|
||||
|
||||
- name: Install longhorn chart
|
||||
kubernetes.core.helm:
|
||||
name: longhorn
|
||||
chart_ref: /opt/metacluster/helm_charts/longhorn
|
||||
release_namespace: longhorn
|
||||
create_namespace: yes
|
||||
values:
|
||||
ingress:
|
||||
enabled: true
|
||||
host: storage.{{ vapp['guestinfo.fqdn'] }}
|
||||
|
||||
- name: Cleanup tempfile
|
||||
ansible.builtin.file:
|
||||
path: "{{ kubeconfig.path }}"
|
||||
|
@ -21,17 +21,10 @@
|
||||
loop_control:
|
||||
label: "{{ item.key }}"
|
||||
|
||||
- ansible.builtin.command:
|
||||
cmd: ls /opt/metacluster/helm-charts -lashR
|
||||
register: result
|
||||
- ansible.builtin.debug:
|
||||
var: result
|
||||
|
||||
- name: Parse helm charts for container images
|
||||
ansible.builtin.shell:
|
||||
cmd: "{{ item.value.helm.parse_logic }}"
|
||||
chdir: /opt/metacluster/helm-charts/{{ item.key }}
|
||||
# chdir: /opt/metacluster/helm-charts/{{ item.value.helm.basedir | default(item.key) }}
|
||||
register: containerimages
|
||||
loop: "{{ lookup('ansible.builtin.dict', components) }}"
|
||||
loop_control:
|
||||
|
Reference in New Issue
Block a user