Skip to content

Commit

Permalink
Implement ansible-lint hints.
Browse files Browse the repository at this point in the history
  • Loading branch information
robertdebock committed Jan 2, 2023
1 parent cb36c0a commit 2251513
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,42 +10,42 @@ _dns_packages:
Debian:
- bind9

dns_packages: "{{ _dns_packages[ansible_os_family] | default(_dns_packages['default'] ) }}"
dns_packages: "{{ _dns_packages[ansible_os_family] | default(_dns_packages['default']) }}"

_dns_validate_certs:
default: yes
Debian: no

dns_validate_certs: "{{ _dns_validate_certs[ansible_os_family] | default(_dns_validate_certs['default'] ) }}"
dns_validate_certs: "{{ _dns_validate_certs[ansible_os_family] | default(_dns_validate_certs['default']) }}"

_dns_datadir:
default: /var/named
Alpine: /var/bind
Debian: /var/lib/bind
Suse: /var/lib/named/var/named

dns_datadir: "{{ _dns_datadir[ansible_os_family] | default(_dns_datadir['default'] ) }}"
dns_datadir: "{{ _dns_datadir[ansible_os_family] | default(_dns_datadir['default']) }}"

_dns_confdir:
default: /etc
Alpine: /etc/bind
Debian: /etc/bind
Suse: /var/lib/named/etc

dns_confdir: "{{ _dns_confdir[ansible_os_family] | default(_dns_confdir['default'] ) }}"
dns_confdir: "{{ _dns_confdir[ansible_os_family] | default(_dns_confdir['default']) }}"

_dns_group:
default: named
Debian: bind

dns_group: "{{ _dns_group[ansible_os_family] | default(_dns_group['default'] ) }}"
dns_group: "{{ _dns_group[ansible_os_family] | default(_dns_group['default']) }}"

_dns_owner:
default: named
Debian: bind
RedHat: root

dns_owner: "{{ _dns_owner[ansible_os_family] | default(_dns_owner['default'] ) }}"
dns_owner: "{{ _dns_owner[ansible_os_family] | default(_dns_owner['default']) }}"

_dns_service:
default: bind
Expand Down

0 comments on commit 2251513

Please # to comment.