๐Ÿ“— Ansible playbooks and roles for building an idempotent, interconnected and scalable infrastructure
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
603 B

- block:
- name: deploy ecc384 cert
include_role:
name: certs
vars:
certs:
cert: "{{ coredns_cert_file }}"
key: "{{ coredns_key_file }}"
ecc: yes
post_hook: service coredns restart
owner: "{{ coredns_user }}"
group: "{{ coredns_group }}"
- name: template tls snippet file
template:
src: tls.j2
dest: "{{ coredns_tls_file }}"
force: yes
owner: "{{ coredns_user }}"
group: "{{ coredns_group }}"
mode: 0400
notify: restart coredns
when: host_tls