Fix var reference;Housekeeping;Improve UX

This commit is contained in:
2023-01-25 10:28:28 +01:00
parent dd802e0620
commit e21b11a37a
13 changed files with 37 additions and 28 deletions

View File

@ -62,7 +62,7 @@
- key: root_ca.crt
value: "{{ stepca_cm_certs.resources[0].data['root_ca.crt'] | b64encode }}"
loop_control:
label: "{{ item.kind + '/' + item.name + ' (' + item.namespace + ')' }}"
label: "{{ item.kind ~ '/' ~ item.name ~ ' (' ~ item.namespace ~ ')' }}"
- name: Configure step-ca passthrough ingress
ansible.builtin.template:

View File

@ -120,7 +120,7 @@
# default_branch: main
description: GitOps manifests
loop_control:
label: "{{ item.organization + '/' + item.body.name }}"
label: "{{ item.organization ~ '/' ~ item.body.name }}"
- name: Rebase/Push source gitops repository
ansible.builtin.shell:

View File

@ -1,7 +1,7 @@
- name: Configure fallback name resolution
ansible.builtin.lineinfile:
path: /etc/hosts
line: "{{ vapp['guestinfo.ipaddress'] }} {{ item + '.' + vapp['metacluster.fqdn'] }}"
line: "{{ vapp['guestinfo.ipaddress'] }} {{ item ~ '.' ~ vapp['metacluster.fqdn'] }}"
state: present
loop:
# TODO: Make this list dynamic