mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-14 05:45:06 +03:00
Using issue cert result var instead hostvars
This commit is contained in:
@@ -108,7 +108,7 @@
|
||||
|
||||
- name: issue_cert | Copy certificate serial to all hosts
|
||||
copy:
|
||||
wcontent: "{{ issue_cert_result['issue_cert_result']['json']['data']['serial_number'] }}"
|
||||
wcontent: "{{ issue_cert_result['json']['data']['serial_number'] }}"
|
||||
dest: "{{ issue_cert_path.rsplit('.', 1)|first }}.serial"
|
||||
group: "{{ issue_cert_file_group | d('root' )}}"
|
||||
mode: "{{ issue_cert_file_mode | d('0640') }}"
|
||||
|
||||
Reference in New Issue
Block a user