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] [defaults]
nocows=True nocows=True
localhost_warning=False localhost_warning=False
gathering=smart

View file

@ -2,7 +2,6 @@
- name: create cloudflare dns records - name: create cloudflare dns records
hosts: localhost hosts: localhost
connection: local connection: local
gather_facts: smart
vars: vars:
domains: domains:
- sampledomain.local - sampledomain.local
@ -10,8 +9,8 @@
- name: import cloudflare creds - name: import cloudflare creds
include_vars: include_vars:
file: "~/.cloudflare.yml" file: "~/.cloudflare.yml"
- name: "create-records: include role" - name: "manage-records: include role"
include_role: include_role:
name: create-records name: manage-records
vars_from: "{{item}}" vars_from: "{{item}}"
with_items: "{{domains}}" with_items: "{{domains}}"