Browse Source

default alt hostname

master
parent
commit
78566da7a3
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      defaults/main.yml

+ 4
- 0
defaults/main.yml View File

@@ -2,6 +2,10 @@ certificate_directory: /etc/ssl

certificate_common_name: "{{ inventory_hostname }}"

certificate_alt_names:
- "DNS:{{ inventory_hostname }}"


certificate_name: "{{ certificate_common_name | regex_replace(' ', '_') }}"
certificate_file: "{{ certificate_directory }}/certs/{{ certificate_name }}.cert.pem"
certificate_chain_file: "{{ certificate_directory }}/certs/{{ certificate_name }}.chain.pem"


Loading…
Cancel
Save