Parcourir la source

the default common name for the certificate is the inventory hostname

master
Parent
révision
c2e3f22fc4
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. +2
    -0
      defaults/main.yml

+ 2
- 0
defaults/main.yml Voir le fichier

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


certificate_common_name: "{{ inventory_hostname }}"

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


Chargement…
Annuler
Enregistrer