fix fact gathering, rename role
This commit is contained in:
parent
b79fb76f25
commit
0e6228b751
4 changed files with 3 additions and 3 deletions
|
@ -1,3 +1,4 @@
|
|||
[defaults]
|
||||
nocows=True
|
||||
localhost_warning=False
|
||||
gathering=smart
|
5
play.yml
5
play.yml
|
@ -2,7 +2,6 @@
|
|||
- name: create cloudflare dns records
|
||||
hosts: localhost
|
||||
connection: local
|
||||
gather_facts: smart
|
||||
vars:
|
||||
domains:
|
||||
- sampledomain.local
|
||||
|
@ -10,8 +9,8 @@
|
|||
- name: import cloudflare creds
|
||||
include_vars:
|
||||
file: "~/.cloudflare.yml"
|
||||
- name: "create-records: include role"
|
||||
- name: "manage-records: include role"
|
||||
include_role:
|
||||
name: create-records
|
||||
name: manage-records
|
||||
vars_from: "{{item}}"
|
||||
with_items: "{{domains}}"
|
||||
|
|
Loading…
Reference in a new issue