cfdns/play.yml

17 lines
382 B
YAML
Raw Permalink Normal View History

2020-08-22 06:45:15 +00:00
---
- name: create cloudflare dns records
hosts: localhost
connection: local
vars:
domains:
- sampledomain.local
tasks:
2021-12-19 03:44:35 +00:00
- name: import cloudflare creds
include_vars:
file: "~/.cloudflare.yml"
2022-04-21 04:22:01 +00:00
- name: "manage-records: include role"
include_role:
2022-04-21 04:22:01 +00:00
name: manage-records
vars_from: "{{item}}"
with_items: "{{domains}}"