Update to 2022-03-04 18:00

This commit is contained in:
Daniel Berteaud
2022-03-04 18:00:06 +01:00
parent f8eb615f1a
commit 6918bfc1ce
17 changed files with 190 additions and 22 deletions

View File

@@ -2,6 +2,10 @@
- name: Ensure openssl is installed
package: name=openssl
when: openssl_installed is not defined
- name: Mark openssl as installed
set_fact: openssl_installed=True
- name: Create cert dir
file: path={{ cert_path | dirname }} state=directory
@@ -17,4 +21,4 @@
creates: "{{ cert_path }}"
- name: Restrict permissions of the private key
file: path={{ cert_key_path }} owner={{ cert_user | default(omit) }} group={{ cert_user | default(omit) }} mode=600
file: path={{ cert_key_path }} owner={{ cert_user | default(omit) }} group={{ cert_group | default(omit) }} mode={{ cert_mode | default('600') }}