aurore-logs/roles/openssl-common/tasks/main.yml

25 lines
512 B
YAML
Raw Normal View History

2020-09-19 21:39:57 +02:00
---
- name: Install python3-cryptography library
become: true
apt:
name: python3-cryptography
state: present
- name: Create directories for storing certificates
become: true
file:
path: "/etc/{{ item.name }}"
state: directory
owner: root
group: root
mode: "{{ item.mode }}"
loop:
- name: ssl
mode: u=rwx,g=rx,o=rx
- name: ssl/private
mode: u=rwx,g=,o=
- name: ssl/csr
mode: u=rwx,g=rx,o=rx
- name: ssl/certs
mode: u=rwx,g=rx,o=rx
2020-09-19 21:39:57 +02:00
...