2023-01-01 23:59:10 +00:00
|
|
|
# `jcgruenhage.cloudflare_ddns_service`
|
2021-01-08 03:13:31 +00:00
|
|
|
|
2023-01-01 23:59:10 +00:00
|
|
|
Dynamic DNS using Cloudflare, running in Docker.
|
2021-01-08 03:13:31 +00:00
|
|
|
|
2023-01-01 23:59:10 +00:00
|
|
|
## Role Variables
|
2021-01-08 03:13:31 +00:00
|
|
|
|
|
|
|
- **cloudflare_ddns_api_token**: API token with access to the zone
|
|
|
|
- **cloudflare_ddns_domain**: Domain for which to update the record
|
|
|
|
- **cloudflare_ddns_zone**: Zone which contains the domain
|
2023-01-01 23:59:10 +00:00
|
|
|
- **cloudflare_ddns_ipv4**: Whether to set v4 record, defaults to true
|
|
|
|
- **cloudflare_ddns_ipv6**: Whether to set v6 record, defaults to false
|
2021-01-08 03:13:31 +00:00
|
|
|
|
2023-01-01 23:59:10 +00:00
|
|
|
## Example Playbook
|
2021-01-08 03:13:31 +00:00
|
|
|
|
|
|
|
```yaml
|
|
|
|
- hosts: servers
|
|
|
|
roles:
|
2023-01-01 23:59:10 +00:00
|
|
|
- role: jcgruenhage.base.cloudflare_ddns_service
|
2021-01-08 03:13:31 +00:00
|
|
|
cloudflare_ddns_api_token: your-token-here
|
|
|
|
cloudflare_ddns_zone: example.org
|
|
|
|
cloudflare_ddns_domain: host.example.org
|
|
|
|
```
|
|
|
|
|
2023-01-01 23:59:10 +00:00
|
|
|
## License
|
2021-01-08 03:13:31 +00:00
|
|
|
|
2023-01-01 23:59:10 +00:00
|
|
|
CNPLv7+
|
2021-01-08 03:13:31 +00:00
|
|
|
|
2023-01-01 23:59:10 +00:00
|
|
|
## Author Information
|
2021-01-08 03:13:31 +00:00
|
|
|
|
|
|
|
Jan Christian Grünhage <jan.christian@gruenhage.xyz>
|