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