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

7 年前
12345678910111213141516171819202122
  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_directory }}/private"
  18. mode: 0700
  19. state: directory