25개 이상의 토픽을 선택하실 수 없습니다.
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- ---
-
- - include_tasks: key.yml
- - include_tasks: csr.yml
-
- - name: self sign certificate
- command: openssl x509 -req
- -in "{{ certificate_signing_request_file }}"
- -signkey "{{ certificate_private_key_file }}"
- -extfile "{{ certificate_signing_request_config_file }}"
- -extensions certificate_extensions
- -out "{{ certificate_file }}"
- {{ certificate_private_key_password is defined | ternary('-passin env:PRIVATE_KEY_PASSWORD','') }}
- args:
- creates: "{{ certificate_file }}"
- environment:
- PRIVATE_KEY_PASSWORD: "{{ certificate_private_key_password | default('') }}"
- notify: certificate changed
-
- - name: link full certificate chain file
- file:
- src: "{{ certificate_file }}"
- dest: "{{ certificate_fullchain_file }}"
- state: link
|