diff --git a/roles/vault/tasks/shared/issue_cert.yml b/roles/vault/tasks/shared/issue_cert.yml index 3f37c38cb..51b969f4e 100644 --- a/roles/vault/tasks/shared/issue_cert.yml +++ b/roles/vault/tasks/shared/issue_cert.yml @@ -108,7 +108,7 @@ - name: issue_cert | Copy certificate serial to all hosts copy: - wcontent: "{{ issue_cert_result['json']['data']['serial_number'] }}" + content: "{{ 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') }}"