v0.01
This commit is contained in:
43
templates/certbot.md.j2
Normal file
43
templates/certbot.md.j2
Normal file
@@ -0,0 +1,43 @@
|
||||
{{ certbot_message | default (admin_message ) | comment }}
|
||||
|
||||
# Certbot
|
||||
|
||||
Certbot {{ __certbot_version | regex_replace('^.*certbot ([\\w\\.\\-]+).*?$', '\\1') }} is installed on host {{ inventory_hostname }}
|
||||
|
||||
For all certs helper scripts (/usr/local/bin/certbot-[domainname].sh) and a cronjob (to update the certs) are installed.
|
||||
|
||||
{% if certbot_webserver is defined %}
|
||||
The Webserver "{{ certbot_webserver }}" is defined as the default one which interacts with the certbot plugin.
|
||||
{% endif %}
|
||||
|
||||
|
||||
## Certs
|
||||
|
||||
{{ __certbot_certificates.stdout }}
|
||||
|
||||
|
||||
## Facts
|
||||
|
||||
{% if certbot_facts | default(false) %}
|
||||
|
||||
Facts are saved on the host in these files:
|
||||
|
||||
- /etc/ansible/facts.d/certbot.json
|
||||
- /etc/ansible/facts.d/certbot.certificates.yml
|
||||
|
||||
|
||||
### Update facts without Ansible
|
||||
|
||||
To update the facts run:
|
||||
certbot certificates | /opt/ansible-facts-venv/bin/python3 /usr/local/bin/ansible_certbot_parse_facts.py
|
||||
|
||||
{% else %}
|
||||
Facts are not saved on the host. To enable this set certbot_facts to true in your inventory.
|
||||
{% endif %}
|
||||
|
||||
---
|
||||
|
||||
Any Questions?
|
||||
|
||||
**Linux-Server-Admin.com**
|
||||
|
||||
Reference in New Issue
Block a user