cfdns/play.yml

14 lines
312 B
YAML

---
- name: create cloudflare dns records
hosts: localhost
connection: local
gather_facts: smart
vars:
domains:
- sampledomain.local
tasks:
- name: "enforce state for {{item}}"
include_role:
name: create-records
vars_from: "{{item}}"
with_items: "{{domains}}"