This commit is contained in:
mkrasilnikov 2017-09-05 00:38:00 +03:00
parent 06035c0f4e
commit ad313c9d49

View file

@ -108,7 +108,7 @@
- name: issue_cert | Copy certificate serial to all hosts - name: issue_cert | Copy certificate serial to all hosts
copy: 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" dest: "{{ issue_cert_path.rsplit('.', 1)|first }}.serial"
group: "{{ issue_cert_file_group | d('root' )}}" group: "{{ issue_cert_file_group | d('root' )}}"
mode: "{{ issue_cert_file_mode | d('0640') }}" mode: "{{ issue_cert_file_mode | d('0640') }}"