This repository has been archived by the owner on Sep 7, 2022. It is now read-only.
generated from getstackhead/module-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
6 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,13 +30,15 @@ all: | |
|
||
## Configuration | ||
|
||
Make sure to provide the email and API token for Cloudflare via StackHead CLI configuration file: | ||
Make sure to provide the API token for Cloudflare via StackHead CLI configuration file. | ||
|
||
You can generate an API token [in your Cloudflare profile](https://dash.cloudflare.com/profile/api-tokens). | ||
Make sure to grant `write` permissions to DNS on Zone level. | ||
|
||
```yaml | ||
config: | ||
deployment: | ||
getstackhead.stackhead_dns_cloudflare: | ||
cloudflare_email: [email protected] | ||
cloudflare_api_token: MY-API-TOKEN | ||
``` | ||
|
@@ -45,7 +47,6 @@ or Ansible inventory: | |
```yaml | ||
stackhead__config_deployment: | ||
getstackhead.stackhead_dns_cloudflare: | ||
cloudflare_email: [email protected] | ||
cloudflare_api_token: MY-API-TOKEN | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters