瀏覽代碼

the default common name for the certificate is the inventory hostname

master
父節點
當前提交
c2e3f22fc4
共有 1 個檔案被更改,包括 2 行新增0 行删除
  1. +2
    -0
      defaults/main.yml

+ 2
- 0
defaults/main.yml 查看文件

@@ -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"


Loading…
取消
儲存