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

23 行
383B

  1. ---
  2. - name: directory
  3. file:
  4. path: "{{ certificate_directory }}"
  5. state: directory
  6. - name: subdirectories
  7. file:
  8. path: "{{ certificate_directory }}/{{item}}"
  9. state: directory
  10. with_items:
  11. - certs
  12. - csr
  13. - cnf
  14. - private
  15. - name: private directory
  16. file:
  17. path: "{{ certificate_authority_directory }}/private"
  18. mode: 0700
  19. state: directory