From a1779be0797d24b2909b9287b2af1e78c2c91afb Mon Sep 17 00:00:00 2001 From: Danny Bessems Date: Mon, 27 Jun 2022 09:03:43 +0200 Subject: [PATCH] Change yq syntax --- ansible/roles/metacluster/tasks/components.yml | 2 +- ansible/vars/metacluster.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ansible/roles/metacluster/tasks/components.yml b/ansible/roles/metacluster/tasks/components.yml index f4a8be6..8c835ad 100644 --- a/ansible/roles/metacluster/tasks/components.yml +++ b/ansible/roles/metacluster/tasks/components.yml @@ -23,7 +23,7 @@ - name: Parse helm charts for container images ansible.builtin.command: - cmd: helm template . | yq e '.. | .image? | select(.)' -N | sort -u + cmd: helm template . | yq -N e '.. | .image? | select(.)' - | sort -u chdir: /opt/metacluster/helm-charts/{{ item.key }} register: containerimages loop: "{{ lookup('ansible.builtin.dict', components) }}" diff --git a/ansible/vars/metacluster.yml b/ansible/vars/metacluster.yml index b6caf07..a9d24fd 100644 --- a/ansible/vars/metacluster.yml +++ b/ansible/vars/metacluster.yml @@ -1,4 +1,5 @@ platform: + k3s: version: v1.24.1+k3s1