Du kannst nicht mehr als 25 Themen auswählen
Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
|
- ---
-
- # setup ca directory
-
- - name: directory
- file:
- path: "{{ certificate_authority_directory }}"
- state: directory
-
- - name: subdirectories
- file:
- path: "{{ certificate_authority_directory }}/{{ item }}"
- state: directory
- with_items:
- - certs
- - crl
- - csr
- - cnf
- - newcerts
-
- - name: private directory
- file:
- path: "{{ certificate_authority_directory }}/private"
- mode: 0700
- state: directory
-
- - name: index
- copy:
- content: ""
- dest: "{{ certificate_authority_directory }}/index"
- force: no
-
- - name: index config
- template:
- src: index.attr.j2
- dest: "{{ certificate_authority_directory }}/index.attr"
-
- - name: serial
- copy:
- content: "00\n"
- dest: "{{ certificate_authority_directory }}/serial"
- force: no
-
- - name: config
- template:
- src: ca.cnf.j2
- dest: "{{ certificate_authority_directory }}/cnf/ca.cnf"
|