Create folders for each cert

This commit is contained in:
Christer Warén
2025-09-09 14:25:25 +03:00
parent 461ddab360
commit c3e96bdd22

View File

@@ -455,8 +455,12 @@
- name: "Deployer - OpenSSL - Configure - Create Folder" - name: "Deployer - OpenSSL - Configure - Create Folder"
ansible.builtin.file: ansible.builtin.file:
path: "/root/data/openssl/" path: "/root/data/openssl/{{ cert }}"
state: directory state: directory
loop: "{{ config.openssl.certificates.keys() | list }}"
loop_control:
label: "{{ cert }}"
loop_var: "cert"
tags: tags:
- openssl - openssl
- www - www