mirror of
https://gitea.0xace.cc/ansible-galaxy/cacert.git
synced 2024-11-25 07:16:40 +00:00
14 lines
390 B
YAML
14 lines
390 B
YAML
- name: CA and certs | Check if ssl gen dir exist
|
|
file:
|
|
name: "{{ cacert_ssl_gen_path }}"
|
|
state: directory
|
|
|
|
- name: CA and certs | Include CA creation
|
|
include_tasks: ca.yaml
|
|
when: "inventory_hostname in groups.cacert_ca"
|
|
|
|
- name: CA and certs | Include certs creation
|
|
include_tasks: certs.yaml
|
|
loop: "{{ cacert_certs }}"
|
|
when: "inventory_hostname in groups.cacert_ca"
|