您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

13 行
430B

  1. ---
  2. - name: private key
  3. command: openssl genrsa
  4. -out "{{certificate_private_key_file}}"
  5. {{ certificate_private_key_password is defined | ternary('-aes256 -passout env:PRIVATE_KEY_PASSWORD','') }}
  6. {{ certificate_private_key_size }}
  7. args:
  8. creates: "{{ certificate_private_key_file }}"
  9. environment:
  10. PRIVATE_KEY_PASSWORD: "{{ certificate_private_key_password | default('') }}"
  11. notify: certificate changed