delegate tasks to localhost by default
This commit is contained in:
parent
37671d9023
commit
c6094130c0
@ -13,6 +13,8 @@
|
||||
# @end
|
||||
# @var corenetworks_dns_default_zone: $ "_unset_"
|
||||
|
||||
corenetworks_dns_delegate_to: localhost
|
||||
|
||||
# @var corenetworks_dns_default_zone:example: >
|
||||
# corenetworks_dns_records:
|
||||
# - record: test
|
||||
|
@ -4,6 +4,7 @@
|
||||
api_user: "{{ corenetworks_dns_api_user | default(omit) }}"
|
||||
api_password: "{{ corenetworks_dns_api_password | default(omit) }}"
|
||||
register: __corenetworks
|
||||
delegate_to: "{{ corenetworks_dns_delegate_to }}"
|
||||
|
||||
- name: Create DNS records
|
||||
corenetworks_dns:
|
||||
@ -16,3 +17,4 @@
|
||||
loop: corenetworks_dns_records + corenetworks_dns_records_extra
|
||||
loop_control:
|
||||
label: "{{ item.zone }}:{{ item.record | default('@') }}"
|
||||
delegate_to: "{{ corenetworks_dns_delegate_to }}"
|
||||
|
Loading…
Reference in New Issue
Block a user