cacert/tasks/main.yaml

24 lines
619 B
YAML

- name: CA and certs | Include CA
include_tasks: ca.yaml
- name: CA and certs | Include CN certs
include_tasks: cn_certs.yaml
loop: "{{ cacert_cn_certs }}"
when:
- cacert_cn_certs is defined
- name: CA and certs | Include group certs
include_tasks: group_certs.yaml
loop: "{{ cacert_group_certs }}"
when:
- cacert_group_certs is defined
- name: CA and certs | Include per host certs for group
include_tasks: per_host_for_group_certs.yaml
loop: "{{ cacert_per_host_certs.groups }}"
loop_control:
loop_var: per_host_for_group_item
when:
- cacert_per_host_certs.groups is defined