Compare commits
2 Commits
594e62cf71
...
20f28f7d8a
Author | SHA1 | Date | |
---|---|---|---|
20f28f7d8a | |||
2802b49d02 |
@ -1,10 +1,12 @@
|
|||||||
- block:
|
- block:
|
||||||
|
|
||||||
- name: Inject password into values file
|
- name: Import generated values file into dictionary and combine with custom values
|
||||||
ansible.builtin.copy:
|
ansible.builtin.set_fact:
|
||||||
dest: "{{ stepconfig.path }}"
|
values_initial: |
|
||||||
content: "{{ lookup('ansible.builtin.file', stepconfig.path) | regex_replace('(ca_password|provisioner_password):[ ]?\n', '\\1: ' ~ (vapp['metacluster.password'] | b64encode) ~ '\n') }}"
|
{{
|
||||||
no_log: true
|
lookup('ansible.builtin.file', stepconfig.path) | from_yaml |
|
||||||
|
combine( components['step-certificates'].chart_values | from_yaml, recursive=True, list_merge='append')
|
||||||
|
}}
|
||||||
|
|
||||||
- name: Install step-ca chart
|
- name: Install step-ca chart
|
||||||
kubernetes.core.helm:
|
kubernetes.core.helm:
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
state: directory
|
state: directory
|
||||||
|
|
||||||
- name: Configure Ansible defaults
|
- name: Configure Ansible defaults
|
||||||
ansible.builtin.template:
|
ansible.builtin.copy:
|
||||||
dest: /etc/ansible/ansible.cfg
|
dest: /etc/ansible/ansible.cfg
|
||||||
content: |
|
content: |
|
||||||
[defaults]
|
[defaults]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user