include credentials only once
This commit is contained in:
parent
2def875433
commit
e538a528d1
2 changed files with 3 additions and 4 deletions
3
play.yml
3
play.yml
|
@ -7,6 +7,9 @@
|
|||
domains:
|
||||
- sampledomain.local
|
||||
tasks:
|
||||
- name: import cloudflare creds
|
||||
include_vars:
|
||||
file: "~/.cloudflare.yml"
|
||||
- name: "enforce state for {{item}}"
|
||||
include_role:
|
||||
name: create-records
|
||||
|
|
|
@ -1,9 +1,5 @@
|
|||
---
|
||||
|
||||
- name: import cloudflare creds
|
||||
include_vars:
|
||||
file: "~/.cloudflare.yml"
|
||||
|
||||
- name: "create records ({{domain}})"
|
||||
cloudflare_dns:
|
||||
zone: "{{ domain }}"
|
||||
|
|
Loading…
Reference in a new issue