16 lines
478 B
Markdown
16 lines
478 B
Markdown
|
# cfdns
|
||
|
|
||
|
Sample Ansible role to create CloudFlare DNS records
|
||
|
|
||
|
## Requirements
|
||
|
|
||
|
1) See `roles/defaults/vars.yml` for sample DNS zone entry definitions -- change/remove these as desired
|
||
|
|
||
|
2) Your CloudFlare email address and API key must be stored in `~/.cloudflare.yml` like so for authentication:
|
||
|
```
|
||
|
---
|
||
|
cf_email: you@domain.com
|
||
|
cf_token: abcdef123456
|
||
|
```
|
||
|
If this is a shared system, `chmod -v 0600 ~/.cloudflare.yml` once created to avoid potentially leaking credentials.
|