浏览代码

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"


正在加载...
取消
保存