diff --git a/README.md b/README.md index 35182d0..6e2d505 100644 --- a/README.md +++ b/README.md @@ -4,4 +4,4 @@ Ansible role for unbound ### Variables -Set `unbound_config_template` to templatefile you want deploy as unbound configuration +Set `unbound_config_template` to template file you want to deploy as unbound configuration diff --git a/tasks/main.yml b/tasks/main.yml index 1d9c1f1..5fe1704 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -12,10 +12,10 @@ - name: unbound | Deploy config template: src: "{{ unbound_config_template }}" - dest: "{{ unbound_config.path }}" - mode: "{{ unbound_config.mode }}" - owner: "{{ unbound_config.owner }}" - group: "{{ unbound_config.group }}" + dest: "{{ unbound_config_props.path }}" + mode: "{{ unbound_config_props.mode }}" + owner: "{{ unbound_config_props.owner }}" + group: "{{ unbound_config_props.group }}" validate: "unbound-checkconf %s" notify: unbound | Reload configuration diff --git a/vars/linux.yml b/vars/linux.yml index 257fa2d..467e309 100644 --- a/vars/linux.yml +++ b/vars/linux.yml @@ -2,8 +2,8 @@ unbound_install_package: yes -unbound_config: - path: /etc/unbound/unbound.conf - mode: 0600 +unbound_config_props: + path: /etc/unbound/unbound.conf + mode: 0600 owner: unbound group: unbound diff --git a/vars/openbsd.yml b/vars/openbsd.yml index fb0e4d0..9f6fbd2 100644 --- a/vars/openbsd.yml +++ b/vars/openbsd.yml @@ -2,8 +2,8 @@ unbound_install_package: no -unbound_config: - path: /var/unbound/etc/unbound.conf - mode: 644 +unbound_config_props: + path: /var/unbound/etc/unbound.conf + mode: 0644 owner: root group: wheel