fix: Incorrect dictionary key reference

This commit is contained in:
Danny Bessems 2023-10-22 20:49:35 +02:00
parent 3b89aed52b
commit e4cfc26e2c
2 changed files with 5 additions and 5 deletions

View File

@ -15,9 +15,9 @@
{{
{ 'components': (
metacluster_chartvalues |
combine({ 'clusterapi' : components['clusterapi'] }) |
combine({ 'kubevip' : components['kubevip'] }) |
combine({ 'local-user-auth': components['local-user-auth'] })),
combine({ 'clusterapi': components['clusterapi'] }) |
combine({ 'kubevip' : components['kubevip'] }) |
combine({ 'pinniped' : components['pinniped'] })),
'appliance': {
'version': (applianceversion)
}
@ -111,7 +111,7 @@
- name: Download pinniped local-user-authenticator manifest
ansible.builtin.get_url:
url: https://get.pinniped.dev/{{ components['local-user-authenticator'].version }}/install-local-user-authenticator.yaml
url: https://get.pinniped.dev/{{ components.pinniped['local-user-authenticator'].version }}/install-local-user-authenticator.yaml
dest: /opt/metacluster/pinniped/local-user-authenticator.yaml
register: pinniped_manifest
retries: 5

View File

@ -31,7 +31,7 @@
data:
- groups: group1,group2
passwordHash: "{{ item.password }}"
loop: "{{ components['local-user-authenticator'].users }}"
loop: "{{ components.pinniped['local-user-authenticator'].users }}"
- block: