Using issue cert result var instead hostvars
This commit is contained in:
parent
3acb86805b
commit
e1384f6618
1 changed files with 1 additions and 1 deletions
|
@ -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') }}"
|
||||
|
|
Loading…
Reference in a new issue