Ver código fonte

the default common name for the certificate is the inventory hostname

master
pai
commit
c2e3f22fc4
1 arquivos alterados com 2 adições e 0 exclusões
  1. +2
    -0
      defaults/main.yml

+ 2
- 0
defaults/main.yml Ver arquivo

@@ -1,5 +1,7 @@
certificate_directory: /etc/ssl

certificate_common_name: "{{ 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"


Carregando…
Cancelar
Salvar