You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 line
373B

  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