mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-08 11:17:17 +02:00
Renamed general and mode constants and implemented a check to verify that constants are just defined ones over the whole repository
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
# Cloudflare API Token for Ansible (`certbot_dns_api_token`)
|
||||
# Cloudflare API Token for Ansible (`CERTBOT_DNS_API_TOKEN`)
|
||||
|
||||
This document explains how to generate and use a Cloudflare API Token for DNS automation and certificate operations in Ansible (e.g., with Certbot).
|
||||
|
||||
## Purpose
|
||||
|
||||
The `certbot_dns_api_token` variable must contain a valid Cloudflare API Token.
|
||||
The `CERTBOT_DNS_API_TOKEN` variable must contain a valid Cloudflare API Token.
|
||||
This token is used for all DNS operations and ACME (SSL/TLS certificate) challenges that require access to your Cloudflare-managed domains.
|
||||
|
||||
**Never commit your API token to a public repository. Always keep it secure!**
|
||||
@@ -58,4 +58,4 @@ Add the following permissions:
|
||||
Set the token in your Ansible inventory or secrets file:
|
||||
|
||||
```yaml
|
||||
certbot_dns_api_token: "cf_your_generated_token_here"
|
||||
CERTBOT_DNS_API_TOKEN: "cf_your_generated_token_here"
|
||||
|
Reference in New Issue
Block a user