You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/roles/dns/master/tasks/generate_keys.yml

27 lines
584 B
YAML

---
# TODO Change to makefile call
- name: Generate key signing key for zone {{ domain }}
command: >-
dnssec-keygen
-f KSK
-3
-a {{ dnssec_algorithm | quote }}
-b {{ dnssec_key_length | quote }}
-n ZONE {{ domain | quote }}
args:
chdir: "{{ domain_directory }}"
- name: Generate zone signing key for zone {{ domain }}
command: >-
dnssec-keygen
-3
-a {{ dnssec_algorithm | quote }}
-b {{ dnssec_key_length | quote }}
-n ZONE {{ domain | quote }}
args:
chdir: "{{ domain_directory }}"
# TODO Copy public keys to localhost