aboutsummaryrefslogtreecommitdiff
path: root/roles
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2021-09-02 22:48:56 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2021-09-02 22:48:56 +0200
commit7fa9fbe40aa00df3638edff3c6cd744bf8f5b973 (patch)
treeeafc0aba7f705dac39d199f2ef254d923d82198b /roles
parent4bf3c2e62584f49eb44df5dde72bc78a13dc57e9 (diff)
downloadansible_collection-7fa9fbe40aa00df3638edff3c6cd744bf8f5b973.tar.gz
signed_certificate README
Diffstat (limited to 'roles')
-rw-r--r--roles/signed_certificate/README.md24
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
+```