fix fact gathering, rename role

This commit is contained in:
Josh Lay 2022-04-20 23:22:01 -05:00
parent b79fb76f25
commit 0e6228b751
Signed by: jlay
GPG key ID: B265E45CACAD108A
4 changed files with 3 additions and 3 deletions

View file

@ -1,3 +1,4 @@
[defaults]
nocows=True
localhost_warning=False
gathering=smart

View file

@ -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}}"