aboutsummaryrefslogtreecommitdiff
path: root/roles/signed_certificate/README.md
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2022-09-20 18:11:00 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2022-09-20 18:11:00 +0200
commite56713301b19c67480d84b55dd513575b50cfd42 (patch)
tree335eb6d29bc208d9c8057bb83c08311b4cf0316d /roles/signed_certificate/README.md
parent216bc43ef7a270925ac597806c06030354ba9149 (diff)
downloadansible_collection-e56713301b19c67480d84b55dd513575b50cfd42.tar.gz
ACME for signed_certificate
Diffstat (limited to 'roles/signed_certificate/README.md')
-rw-r--r--roles/signed_certificate/README.md35
1 files changed, 22 insertions, 13 deletions
diff --git a/roles/signed_certificate/README.md b/roles/signed_certificate/README.md
index b048295..b1fa10e 100644
--- a/roles/signed_certificate/README.md
+++ b/roles/signed_certificate/README.md
@@ -3,22 +3,31 @@
## 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 }}'
+common_name: '{{ ansible_facts.fqdn }}'
key_path: '/etc/ssl/private/'
cert_path: '/etc/ssl/certs/'
alt_name: '{{ "DNS:" + ansible_facts.fqdn }}'
owner: root
-group: root
+group: ssl-cert
+
+signed_certificate:
+ issuer_cn: ''
+ renew_at: '+5d'
+ valid_for: '+30d'
+ privkey_path: '/invalid'
+ privkey_passphrase: ''
+ cert_content: ''
+
+use_acme: false
+
+acme:
+ directory: https://acme-v01.api.letsencrypt.org/directory
+ renew_at: 10
+ account_email: mail@example.com
+ account_key: 'INVALID'
+ gandi:
+ api_key: ''
+ domain: ''
```