diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2021-09-02 22:48:56 +0200 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2021-09-02 22:48:56 +0200 |
commit | 7fa9fbe40aa00df3638edff3c6cd744bf8f5b973 (patch) | |
tree | eafc0aba7f705dac39d199f2ef254d923d82198b /roles/signed_certificate/README.md | |
parent | 4bf3c2e62584f49eb44df5dde72bc78a13dc57e9 (diff) | |
download | ansible_collection-7fa9fbe40aa00df3638edff3c6cd744bf8f5b973.tar.gz |
signed_certificate README
Diffstat (limited to 'roles/signed_certificate/README.md')
-rw-r--r-- | roles/signed_certificate/README.md | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/roles/signed_certificate/README.md b/roles/signed_certificate/README.md new file mode 100644 index 0000000..b048295 --- /dev/null +++ b/roles/signed_certificate/README.md @@ -0,0 +1,24 @@ +# kompetenzbolzen.stuff.signed_certificate + +## CA Settings + +``` +signed_certificate: + issuer_cn: 'Tets CN' + renew_at: '+5d' + valid_for: '+30d' + privkey_path: '/tmp/ca.key' + privkey_passphrase: '1234' + cert_content: '{{ lookup('file', /tmp/cert.pem) }}' +``` + +## Certificate settings + +``` +cert_name: '{{ ansible_facts.fqdn }}' +key_path: '/etc/ssl/private/' +cert_path: '/etc/ssl/certs/' +alt_name: '{{ "DNS:" + ansible_facts.fqdn }}' +owner: root +group: root +``` |