NSD: Quote all paths
This commit is contained in:
parent
b4dd5c9066
commit
93dd3810a0
@ -5,25 +5,25 @@
|
|||||||
|
|
||||||
|
|
||||||
- name: Create primary zone directory
|
- name: Create primary zone directory
|
||||||
file: path={{ primary_zones_dir }} state=directory owner=root group=root mode=0755
|
file: path="{{ primary_zones_dir }}" state=directory owner=root group=root mode=0755
|
||||||
|
|
||||||
- name: Create secondary zone directory
|
- name: Create secondary zone directory
|
||||||
file: path={{ secondary_zones_dir }} state=directory owner=nsd group=nsd mode=0755
|
file: path="{{ secondary_zones_dir }}" state=directory owner=nsd group=nsd mode=0755
|
||||||
|
|
||||||
|
|
||||||
- name: Create base nsd3 configuration file
|
- name: Create base nsd3 configuration file
|
||||||
template: src=config.j2 dest={{ nsd_config_dir }}/nsd.conf owner=root group=root mode=0644
|
template: src=config.j2 dest="{{ nsd_config_dir }}/nsd.conf" owner=root group=root mode=0644
|
||||||
notify:
|
notify:
|
||||||
- restart nsd3
|
- restart nsd3
|
||||||
|
|
||||||
- name: Configure nsd3 zones
|
- name: Configure nsd3 zones
|
||||||
template: src=zones_config.j2 dest={{ zones_config_file }} owner=root group=root mode=0644
|
template: src=zones_config.j2 dest="{{ zones_config_file }}" owner=root group=root mode=0644
|
||||||
notify:
|
notify:
|
||||||
- rebuild nsd3 database
|
- rebuild nsd3 database
|
||||||
- reload nsd3 database
|
- reload nsd3 database
|
||||||
|
|
||||||
|
|
||||||
- name: Copy content of primary nsd3 zones
|
- name: Copy content of primary zones
|
||||||
copy: src="files/nsd/{{ item.zone_filename }}" dest="{{ primary_zones_dir }}/{{ item.zone_filename }}" owner=root group=root mode=0644
|
copy: src="files/nsd/{{ item.zone_filename }}" dest="{{ primary_zones_dir }}/{{ item.zone_filename }}" owner=root group=root mode=0644
|
||||||
with_items: "{{ nsd_primary_zones }}"
|
with_items: "{{ nsd_primary_zones }}"
|
||||||
notify:
|
notify:
|
||||||
|
Loading…
Reference in New Issue
Block a user