clarification of domain management

This commit is contained in:
Josh Lay 2021-12-18 21:52:07 -06:00
parent 66e6c4d30a
commit 70fd56adcd

View file

@ -4,9 +4,11 @@ Sample Ansible role to create CloudFlare DNS records
## Requirements ## Requirements
1) See `domains/sample.yml` for sample DNS zone entry definitions -- change these as desired 1) See `roles/create-records/vars/sample.yml` for sample DNS zone entry definitions -- change these as desired
`domains` is a symbolic link to `roles/create-records/vars/`, these are loaded based on the `domains` list in `play.yml` To add a domain, define it in the `domains` list in `play.yml`. This will load the correlating file at `roles/create-records/vars/{{domain}}.yml`.
The symbolic link `./domains` was provided to make these files more accessible, not used for function -- can be removed.
_TODO_: Load files created here dynamically _TODO_: Load files created here dynamically