Install dns-root-data before unbound

Since unbound refuses to start before dns-root-data is installed,
install it first.

Change-Id: I78f42c217b2627bf3108ac4b13d437bb03857222
This commit is contained in:
Jeremy Stanley 2024-08-29 16:21:26 +00:00
parent d1e6ca724c
commit 2d4103c521

View File

@ -5,17 +5,17 @@
files: "{{ distro_lookup_path }}"
loop: "{{ query('first_found', params, errors='ignore') }}"
- name: Install unbound
package:
state: present
name: unbound
- name: Install dns-root-data on Noble
package:
state: present
name: dns-root-data
when: ansible_distribution == "Ubuntu" and ansible_distribution_major_version|int >= 24
- name: Install unbound
package:
state: present
name: unbound
- name: Write dhclient config files
include_tasks: dhclient.yaml
loop: