This role uses the variables listed below, along with default values (see defaults/main.yml).
You can specify the docker container name and the image version to be used. You can also specify the docker volume where the container should store its relevant data
```yml
dns_container_name: "cloudflare-dns"
dns_image_version: "latest"
dns_volume_config: "/tmp"
```
The `dns_domains` variable contains credentials and domain definitions. Credentials are specified like so:
This role allows you to set up DDNS for multiple domains:
```yaml
dns_domains:
domains:
- name: foo.example.com
type: A
proxied: true
create: true
zoneId: JBFRZWzhTKtRFWgu3X7f3YLX
- name: bar.example.com
type: A
proxied: true
create: true
zoneId: JBFRZWzhTKtRFWgu3X7f3YLY
```
All items declared into `dns_domains` are converted to the necessary configuration file via the *config.yaml.j2* template.
If you want more details on which parameters you can add to `dns_domains`, please see the [container's documentation](https://hub.docker.com/r/oznu/cloudflare-ddns/#!)